Commit d077d0ec85a92cb7dd8bb581247f423b4fda7f68
1 parent
fdda8785
Exists in
master
and in
7 other branches
Correção na chamada map.setMapType(G_SATELLITE_TYPE); para
map.setMapType(G_SATELLITE_MAP);
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ferramentas/googlemaps/index.htm
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | var map = new GMap(document.getElementById("map")); | 25 | var map = new GMap(document.getElementById("map")); |
26 | map.addControl(new GLargeMapControl()); | 26 | map.addControl(new GLargeMapControl()); |
27 | map.addControl(new GMapTypeControl()); | 27 | map.addControl(new GMapTypeControl()); |
28 | - map.setMapType(G_SATELLITE_TYPE); | 28 | + map.setMapType(G_SATELLITE_MAP); |
29 | map.centerAndZoom(new GPoint(pt1,pt2), 7); | 29 | map.centerAndZoom(new GPoint(pt1,pt2), 7); |
30 | GEvent.addListener(map, "moveend", function() { | 30 | GEvent.addListener(map, "moveend", function() { |
31 | ondegoogle(map); | 31 | ondegoogle(map); |