[Google Maps API v3] Re: Google Map API v3 polygon shape creator
The link has been updated to http://www.startutorial.com/articles/view/google-map-api-v3-polygon-shape-creator On Thursday, June 24, 2010 10:36:20 AM UTC+8, thedilab wrote: > > Hi , > I have just created a polygon creator for Google Map Javascript api V3 > using Jquery. > Please take a look and let me know your thoughts. > http://www.the-di-lab.com/?p=219 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Google Map API v3 polygon shape creator
I'd prefer real working and flexible examples instead - without jquery overhead http://www.wolfpil.de/v3/flexible-polygon.html http://www.wolfpil.de/v3/snapable-lines.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Google Map API v3 polygon shape creator
how much "extra" work to get the lat lon of markers and pass them back to the calling application? Dennis On Monday, February 18, 2013 5:16:47 AM UTC-5, Pil wrote: > > I'd prefer real working and flexible examples instead - without jquery > overhead > > http://www.wolfpil.de/v3/flexible-polygon.html > > http://www.wolfpil.de/v3/snapable-lines.html > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Google Map API v3 polygon shape creator
I'd guess one or two extra lines of code. On Feb 18, 12:39 pm, "Dennis A." wrote: > how much "extra" work to get the lat lon of markers and pass them back to > the calling application? > > Dennis > > > > > > > > On Monday, February 18, 2013 5:16:47 AM UTC-5, Pil wrote: > > > I'd prefer real working and flexible examples instead - without jquery > > overhead > > >http://www.wolfpil.de/v3/flexible-polygon.html > > >http://www.wolfpil.de/v3/snapable-lines.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: GMaps v3 - Invalid Argument
We have restarted the Gmaps 3 migration and need to know how we should go about fixing this issue. Google said they fixed it, however your API with IE8 still throws an error. Thanks much. On Monday, August 6, 2012 11:29:55 AM UTC-5, JB wrote: > Hello, > > > > Google has informed us the Bug has been fixed in V3.9. but we continue to > see the issue with IE8 throwing the bug. > > > > > http://google-maps-utility-library-v3.googlecode.com/svn-history/trunk/arcgislink/examples/dynamap.html > (then > zoom out) > > > > Do you have to change something in the ArcGIS Server Link lib now too? > > > > > > Jeff > On Wednesday, March 7, 2012 12:39:14 PM UTC-6, Nianwei Liu wrote: > >> Seems to related to google API does not report bounds correctly when >> zoom beyond level 2. >> See example here: >> >> http://gmaps-utility-gis.googlecode.com/svn/trunk/v3test/smallscalebounds/smallscalebounds.html >> >> >> And that may lead to other problems. IE throw an error but Firefox >> just ignored it. >> >> Manually adjust the bound send to ArcGIS seems not helpful, so for >> now, I guess it's a limitation until the API's getBounds can be fixed. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Eternal message: "transferring data from maps.googleapis.com"
Roy, I am seeing the exact same thing. Did you ever get an answer to this? Thanks in advance! Mike Klingler On Saturday, December 29, 2012 3:23:21 AM UTC-7, Roy Barkas wrote: > > {Also posted on Stack Overflow APIV3 section} > > Our site works as designed with a minor but irritating problem. The > problem seems to occur only when the page is loaded on Firefox. I'm using > Firefox 17.0.1. On all other tested browsers the load completes. > > When loaded, the site displays the map, custom markers and everything else > that it is meant to but often the load doesn't complete, there is a message > saying "waiting for maps.googleapis.com". The only effect is the "waiting > for" message which is persistent. To refresh the page you have to first > cancel the original load and then reload. Looking at Firebug its appears > that a tile isn't completing it's load. The file that is waiting to > complete is alway: > > https://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&1i15626&2i7568&2e2&3u6&4m2&1u1507&2u792&5m3&1e4&2b1&5sen-US&token=49261 > > Like I said, minor but irritating - some users have reported the site as > broken because they see the persistent "waiting for" message even though > everything works as designed. > > Even though this may be a Firefox issue, I posted here to see if anyone > else is experiencing this and if any solutions exist. > > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Custom overlay disappears at certain zoom level
I'm having the same problem with custom overlay which act weird on max zoom levels. Did you find any solution to this problem ? Le lundi 12 septembre 2011 23:27:33 UTC+2, Boris Rarden a écrit : > > I am having a problem with a custom overlay icon marker in google maps. It > works fine at all zoom levels, but disappears at max zoom. In the demo only > the lower icon disappears, but the upper one is ok. > > Demo: http://random.hypervolume.com/map_bug.html > > Try to zoom in on the lower marker, the one on 34-th street. At max zoom > level it disappears. > > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Inverted Fill Color For A Circle
Hi JCU, I know it seems very very late to reply in 2013 :) I was also trying to finding a solution how to draw a inverted fill color circle few months ago for one of my client project. But i didn't find any suitable solution, Then i implemented my own library using *google.maps.MVCObject* Now i have a Inverted Filled Circle :) And it is also have same events like Orginal google map CIrcle :) I have shared my code here https://github.com/raihan2006i/google-map-inverted-circle I will improve it continuously, Hope it might help you and help others in the future Thanks Raihan http://about.me/raihan.arman On Monday, October 10, 2011 7:09:21 AM UTC+2, skygizmo wrote: > > Hi All, > > First post here. > > There is an option to fill the inside of circle with a color . I > want the inverse. I want everything outside of the circle to be filled > in with the color and opacity that I set. > > I use the google.maps.Circle function to draw my circles. I ideally, > if I were to draw 3 concentric circles, the center would be clear, the > space between it and the next would be colored with a very light > opacity. The area between circle two and three would be the same color > but double the opacity. The are outside of the third ring would be the > most heavily colored. > > The circles are service zones. The further out from the center, the > more the trip charge. My application allows up to 7 concentric > circles/zones. The shading is meant to give the dispatcher a clue as > to which zone a marker is in. I chose three circles to simply things. > > Any ideas, links, or comments will be sincerely appreciated. > JavaScript ain't my thing so please be gentle! > > JCU -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: dragging polygons in google maps v3
Since Google Maps v3.11 it's possible to drag around polygons by setting the `draggable` property to `true`: http://www.bram.us/2013/02/15/google-maps-v3-draggable-polygon/ If you want to programmatically move them though, you'll need to use a Google Maps Extension which I wrote, as the API does not provide such a method: http://www.bram.us/2013/02/16/google-maps-v3-move-polygon/ Regards, Bramus. On Monday, February 28, 2011 12:55:04 PM UTC+1, Frederic Vernier wrote: > > I finally succeed to have polygons drag&drop behavior in google maps. > > The way I did : > -1- the map MUST be draggable in its initial options (even if it is the > polygon I will drag) > -2- polygon callback must then prevent the map from panning (saving the > center at mousedown and re-affecting this center at every mousemove) > -3- register mousemove and mouseup on both map and polygon(s), you never > know where the pointer will be due to the lag > -4- re-compute every point of the polygon at every mouvemove by offsetting > them > (js code follows) > > However I'm not very happy with performances. It may be due to item #4 but > has impact on item #3. Also when you drag the polygon outside the map and > then re-entering the map, there is a strange shaking of the map. At last > when I zoom-unzoom with the mouse wheel in the middle of a drag, there is a > little > re-offseting at the first move after the zoom (since saved map center do > not correspond well to the new zoomed map). > > My question : does someone better resolved the dragging polygon problem ? > > My wish list for googlers > -1- event triggered on polygon even if the map is not draggable > -2- a mechanism to have the polygon receiving all the events when it is > dragged > -3- a way to offset all the polygon points at the same time (and then a > way to link a polygon with something else in the MVCObject archi. model) > -4- a way to have color gradients inside polygons (well it's not santa's > wish list maybe ;-) > > // GLOBAL VARS > var grabPoly; > var grabPolyLoc; > var grabMapLoc; > > > > > // SOMEWHERE IN MY CODE > var polyOptions = { > strokeColor: '#FF', > strokeOpacity: 0.6, > strokeWeight: 1, > clickable: true > } > var poly0 = new google.maps.Polygon(polyOptions); > path0 = new google.maps.MVCArray(); > path0.push(new google.maps.LatLng(48.24370129200754,1.3039131164550781)); > path0.push(new google.maps.LatLng(47.50681416405265,3.720905303955078)); > path0.push(new google.maps.LatLng(46.96975999867877,1.8532295227050781)); > poly0.setPath(path0); > poly0.setMap(map); > > google.maps.event.addListener(poly0,'mousedown',function(evt){ > grabPoly= this; > grabPolyLoc = evt.latLng; > grabMapLoc = map.getCenter(); > }); > > google.maps.event.addListener(poly0,'mouseup',function(evt){ > if (grabPoly!=null) { > grabPoly = null; > } > }); > google.maps.event.addListener(poly0,'mousemove',function(evt){ > if (grabPoly != null){ > map.setCenter(grabMapLoc); > var path1 = new google.maps.MVCArray(); > for (var j=0; j var pt = grabPoly.getPath().getAt(j); > var newlon = pt.lng()+evt.latLng.lng()-grabPolyLoc.lng(); > var newlat = pt.lat()+evt.latLng.lat()-grabPolyLoc.lat(); > path1.push(new google.maps.LatLng(newlat, newlon)); > grabPoly.getPath().setAt(j, new google.maps.LatLng(newlat, > newlon)); > } > grabPoly.setPath(path1); > grabPolyLoc = evt.latLng; > } > }); > > google.maps.event.addListener(map,'mousemove',function(evt){ > if (grabPoly != null){ > map.setCenter(grabMapLoc); > var path1 = new google.maps.MVCArray(); > for (var j=0; j var pt = grabPoly.getPath().getAt(j); > var newlon = pt.lng()+evt.latLng.lng()-grabPolyLoc.lng(); > var newlat = pt.lat()+evt.latLng.lat()-grabPolyLoc.lat(); > path1.push(new google.maps.LatLng(newlat, newlon)); > grabPoly.getPath().setAt(j, new google.maps.LatLng(newlat, > newlon)); > } > grabPoly.setPath(path1); > grabPolyLoc = evt.latLng; > } > }); > > google.maps.event.addListener(map, 'mouseup', function(){ if (grabPoly != > null) grabPoly = null; }); > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Google Maps API v3] Re: Zoom control and infowindows broken
I have same problem. and Thank you. This work. On Wednesday, June 15, 2011 1:07:20 AM UTC+8, jrgeerdes wrote: > > The problem is in your CSS. Specifically, reset.css, line 3. The rule to > set img elements to a max-width of 100% causes problems because the > containing divs are apparently 0 x 0. Simply add the line below to > reset.css somewhere after line 3, and it seems to work for me: > > #map img{max-width: inherit;} > > Jeremy R. Geerdes > Generally Cool Guy > Des Moines, IA > > For more information or a project quote: > jrge...@gmail.com > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > Church! > > On Jun 14, 2011, at 11:40 AM, Tony wrote: > > thanks for taking a look! > yes, i've tried with every version since 3... no dice, and in 3.3 and > below the markers become distorted... > i thought it might be something to do with css, as the corners of the > infowindow and its drop shadow are not rendering properly, but i have no > idea which properties could be causing the issue. i'm using a standard css > reset and the rest is mostly based on specific id selectors, so i can't > imagine there's a conflict... > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-maps-js-api-v3/-/cy7OUZoRM2kJ. > To post to this group, send email to > google-map...@googlegroups.com > . > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Google Maps API v3] Re: Elabels3.js (Elabels for MAPS API v3)
Are there any examples or demos of ELabel being used? I've tried to get it working but am obviously missing something somewhere ... Any pointer in the right direction will be greatly appreciated. Cheers MK On Wednesday, August 29, 2012 10:29:49 PM UTC+2, MSquarelive wrote: > > Hey, > > Its pretty easy to use Elabels3.js > > New Code for usage > label = new ELabel(map, map.getCenter(), ' width="32" height="32"><\/canvas>',null,new google.maps.Size(-16,16)); > label.setMap(map); > > First parameter map is added in v3. > > In v3 addOverlay is replaced with setMap. addOverlay was method of map > where setMap is method of individual components. > > Thanks and Regards, > MSquareLive > > On Thursday, 30 June 2011 02:21:10 UTC+5:30, Gareth Mann wrote: >> >> This would be great if i could get it to work. Could you post an example >> showing it working? >> >> To place the Elabels in the old V2 Java API, you could use >> "map.addOverlay()". But "addOverlay" is no longer a method of map, so how >> does one go about doing it now? >> > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.