Open miguelms95 opened 5 years ago
Hi, i'm trying to set the map type to satellite, this is my code:
var handler = Gmaps.build('Google'); handler.buildMap({ provider: {}, internal: {id: 'map'}, map_options: {type: 'SATELLITE'}}, function(){ markers = handler.addMarkers([ { "lat": #{@myplace.latitude}, "lng": #{@myplace.longitude}, "infowindow": "hi!" } ]); handler.bounds.extendWith(markers); handler.fitMapToBounds(); });
It's not working... map_options: {type: 'SATELLITE'}.
Hi, i'm trying to set the map type to satellite, this is my code:
It's not working... map_options: {type: 'SATELLITE'}.