Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Use satellite" broken #219

Open
brunosan opened this issue May 4, 2015 · 1 comment
Open

"Use satellite" broken #219

brunosan opened this issue May 4, 2015 · 1 comment

Comments

@brunosan
Copy link
Contributor

brunosan commented May 4, 2015

It doesn't load the satellite layer.

@angelsephirot
Copy link

In gtfs-editor\public\javascripts\views\route-trippatterns-view.js
change to this

onSatelliteToggle: function(evt) {

    if(G.session.useSatellite  == true){
     G.session.useSatellite = false;
     }else{
     G.session.useSatellite = true;
     }
//      if($('input[name="trip-pattern-use-satellite"]').attr('value') == 'true') {
//          g.session.usesatellite  = true;
//      }
//      else {
//          g.session.usesatellite = false;
//      }

      this.render();

    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants