search for: gmap2

Displaying 5 results from an estimated 5 matches for "gmap2".

Did you mean: omap2
2007 Mar 08
1
map not displayed after Ajax.updater request
...: new GSize(37 ,34),image : "/images/gm_contact.png",iconAnchor : new GPoint (10,34),shadow : "/images/gm_shadow.png" ,infoWindowAnchor : new GPoint(9,2)}); .......... var map; window.onload = addCodeToFunction(window.onload,function() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("map_div")); map.setCenter(new GLatLng(47.7500161647,-2.916641656), 8);GEvent.addListener(map,"click",function processMoveEndEvent () { var centerPoint = map.getCenter(); if (map.getZoom() <= 18) { processNewMapMovement()} }); map.addOverlay(conta...
2008 Sep 24
0
Scroll to zoom?
How would I enable scroll to zoom on a Google map? The GMap2 API has map.enableScrollWheelZoom() Thanks, Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080924/c3c4cdf4/attachment.htm>
2007 Mar 09
0
(no subject)
...luster.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)});var map; window.onload = addCodeToFunction(window.onload,function() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("map_div")); map.setCenter(new GLatLng(47.7377071331,-2.9257965088),10); map.setCenter(new GLatLng(47.7377071331,-2.9257965088), 10);GEvent.addListener(map,"click",function processMoveEndEvent() { var centerPoint = map.getCenter(); }); map.addOverlay(n...
2007 Mar 09
0
Clusterer
...uot;,iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)});var map; 164 window.onload = addCodeToFunction(window.onload,function() { 165 if (GBrowserIsCompatible()) { 166 map = new GMap2(document.getElementById("map_div")); 167 map.setCenter(new GLatLng(47.7377071331,-2.9257965088),10); 168 map.setCenter(new GLatLng(47.7377071331,-2.9257965088), 10);GEvent.addListener(map,"click",function processMoveEndEvent() { var centerPoint = map.getCenter(); }); 169 map....
2007 Oct 16
3
can''t define custom GIcon
Hi, I am having trouble getting custom GIcons to display. Here is the code in my controller: @map = GMap.new("map_div") @map.control_init(:large_map => true,:map_type => true) @map.icon_global_init(GIcon.new(:image => "images/APBox-20.png "),"ap_none") infoString = "Friendly Name: "+result.friendly_name+