[Google Maps API v3] Re: Won't find the town Orange in France?
Hi Chris, Posted this yesterday, don't know what happened but it disappeared. Can we have a link to the problem record so that we can track the resolution ? For those of us who do not use the Places Autocomplete, what can you suggest ? I find it strange that when geocode requests are region biased to France, that the geocoder can still not find the correct result. Simon On Oct 12, 3:40 pm, Chris Broadfoot c...@google.com wrote: Hi all, To help mitigate problems like these I strongly recommend you use the Places Autocomplete. It's a perfect fit for use cases like this. Here's a quick demo:http://code.google.com/apis/maps/documentation/javascript/examples/pl... By typing orange france I get the correct result straight away. Nevertheless, I've filed this problem with the data team. Chris --http://twitter.com/broady On Tue, Oct 11, 2011 at 7:01 PM, sgiddings mr.s.giddi...@gmail.com wrote: Nice tip Pil. However, this is not really an acceptable situation. Taking into account that work has been undertaken by Google to improve coverage in Europe, notably in France, this should not occur. Our users will not have the reflex to do this kind of manipulation - which will give a bad image to our sites, even if it is out of our control. The user will not make the difference between our sites and Google, they only see our site. Do we need to open a bug report ? Do we need to send a problem report to Thor Mitchell ? On Oct 10, 3:54 pm, Pil wolf...@gmail.com wrote: Try Orange, Orange, fr (An old trick seems still working in this case.) On Oct 10, 11:07 am, Andy Newby andy.ne...@gmail.com wrote: Hi, I'm using Geo-Coding to grab a lat/lng value for a place name entered, and then searching our external DB. However, it doesn't seem to wanna find a place called Orange in France, which I can find fine on the main site: http://maps.google.com/maps?q=orangehl=enie=UTF8ll=44.128014,4.965. .. Here is the place it gives an error: http://www.chambresdhotes.org/cgi-bin/links/page.cgi?g=Google_Mapst=. .. I'm making sure I pass in lang=fr to force it to use french spellings (otherwise we have weird errors, like other place names not being found). This issue also applies to GMaps v2 API (I havn't updated this page yet to the v3 one) - http://www.chambresdhotes.org/Google_Maps/?q=orangeradiusSelect=30s... Anyone got any suggestions? TIA Andy -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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 post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Won't find the town Orange in France?
Heads up, its me again... I've done some further testing : For a geocode request like this - var Geocoder = new google.maps.Geocoder(); GeoCoder.geocode( {'address' : Orange, France, 'region' : FR}, ProcessGeoCode); I get the following result list : France Service Rd, Bay Lake, Floride, États-Unis Consulate General of France, 7657 Mt Carmel Dr, Orlando, Floride 32835-8164, États-Unis France Pavilion, France Service Rd, Bay Lake, Floride 32836, États- Unis Something is seriously wrong here ! Simon On Oct 14, 9:06 am, sgiddings mr.s.giddi...@gmail.com wrote: Hi Chris, Posted this yesterday, don't know what happened but it disappeared. Can we have a link to the problem record so that we can track the resolution ? For those of us who do not use the Places Autocomplete, what can you suggest ? I find it strange that when geocode requests are region biased to France, that the geocoder can still not find the correct result. Simon On Oct 12, 3:40 pm, Chris Broadfoot c...@google.com wrote: Hi all, To help mitigate problems like these I strongly recommend you use the Places Autocomplete. It's a perfect fit for use cases like this. Here's a quick demo:http://code.google.com/apis/maps/documentation/javascript/examples/pl... By typing orange france I get the correct result straight away. Nevertheless, I've filed this problem with the data team. Chris --http://twitter.com/broady On Tue, Oct 11, 2011 at 7:01 PM, sgiddings mr.s.giddi...@gmail.com wrote: Nice tip Pil. However, this is not really an acceptable situation. Taking into account that work has been undertaken by Google to improve coverage in Europe, notably in France, this should not occur. Our users will not have the reflex to do this kind of manipulation - which will give a bad image to our sites, even if it is out of our control. The user will not make the difference between our sites and Google, they only see our site. Do we need to open a bug report ? Do we need to send a problem report to Thor Mitchell ? On Oct 10, 3:54 pm, Pil wolf...@gmail.com wrote: Try Orange, Orange, fr (An old trick seems still working in this case.) On Oct 10, 11:07 am, Andy Newby andy.ne...@gmail.com wrote: Hi, I'm using Geo-Coding to grab a lat/lng value for a place name entered, and then searching our external DB. However, it doesn't seem to wanna find a place called Orange in France, which I can find fine on the main site: http://maps.google.com/maps?q=orangehl=enie=UTF8ll=44.128014,4.965. .. Here is the place it gives an error: http://www.chambresdhotes.org/cgi-bin/links/page.cgi?g=Google_Mapst=. .. I'm making sure I pass in lang=fr to force it to use french spellings (otherwise we have weird errors, like other place names not being found). This issue also applies to GMaps v2 API (I havn't updated this page yet to the v3 one) - http://www.chambresdhotes.org/Google_Maps/?q=orangeradiusSelect=30s... Anyone got any suggestions? TIA Andy -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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 post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: DirectionsService not working on street view
Anyone has any idea or suggestion about this? -- 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/-/546W3ZH74OwJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Google Street View Update
I believe, I'm currently using the old version of Google Street View since the features of it are still limited: http://dev.hotelsnearplace.com/singapore-flyer-41797.htm How can I turn it into the new, fully featured Google Street View? http://maps.google.com/maps?q=1.289487,103.862846layer=cz=17iwloc=Asll=1.289487,103.862847cbp=13,115.3,0,0,0cbll=1.289609,103.862589hl=enved=0CA8Q2wUsa=Xei=au6XTqOqD5DomAXStJ3NBA -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Correct address format to get the most accurate results from google GeoCoding API
Is there any standard format to supply the address string to Google GeoCoding API to get the most accurate results on map. No, there is no standard address format around the world You may able to narrow down results with viewport biasing -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
Re: [Google Maps API v3] Re: CSS font and line-height?
@MymsMan could you make another jsfiddle where the text is overflowing the bubble size? -- 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/-/Be3Pb82fzsMJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Google Street View Update
your wrong, you are using the most up to date version of street view available in the maps api v3, maps.google.com uses maps api v2 but highly customized On 14 Okt., 10:13, jesar james gacul...@gmail.com wrote: I believe, I'm currently using the old version of Google Street View since the features of it are still limited:http://dev.hotelsnearplace.com/singapore-flyer-41797.htm How can I turn it into the new, fully featured Google Street View?http://maps.google.com/maps?q=1.289487,103.862846layer=cz=1... -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: charges for using v3 map on website
Hi I think that if your map page is generating over 25,000 hits it must be a commercial site and and Google is entitled to something. If you limit your map to a Map page i wouldn't think you would hit 25,000 I have seen sites with multiple maps on one page (I think it was mainly property or hotels) which are clearly commercial. I think non commercial sites such as the japanese earthquake maps which may initially have a high hit rate but fall away relatively quickly would not be charged Davie On Oct 13, 7:07 pm, Pil wolf...@gmail.com wrote: It's a shame. Initially they say: Hey, embed our maps, it's all free and easy to use! And after a few years when thousands and thousands of these maps have been ambedded, they say: Hey, what about charges, we want to see money if the maps are really used. On Oct 13, 7:29 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 13, 9:42 am, BruceB bru...@google.com wrote: From code.google.com/apis/maps: Businesses that charge fees for access, track assets or *build internal applications* must use Google Maps API Premierhttp://code.google.com/apis/maps/documentation/premier/, which provides enhanced features, technical support and a service-level agreement. If it's only accessible inside the company firewall, you have to license Maps Premier. Also see:http://code.google.com/apis/maps/faq.html#usagelimits If you expect more than 25000 normal map views or 2500 Styled map views: + From October 1st 2011 commercial web sites and applications using the + Maps API may at no cost generate: + - up to 2,500 map transactions per day that have been modified using the + Styled Maps feature + - up to 25,000 map transactions per day in total + If your application qualifies for and exceeds these transaction limits after + October 1st 2011 you will need to respond in one of the following ways in + order to continue using the Maps API in your application: + - Modify your Maps API application such that the number of map + transactions generated per day is reduced to below the usage limit; + - Enroll for automated billing of excess map transactions (pay as you go); + or + Purchase a Maps API Premier license -- Larry -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
Re: [Google Maps API v3] Re: Google Street View Update
Pretty sure jesar is referring to the VERY new WebGL streetview that Google Maps website itself can use http://google-latlong.blogspot.com/2011/10/step-inside-map-with-google-mapsgl.html (without webgl, google maps website uses a version most similar to the API v2 version - using flash) - so in answer to the original question, as its so new, its almost certainly not available in the API yet. It will probably take a while, but I imagine it will come to v3 of the Maps API with time. Hopefully with vector mapping all round :) On Fri, Oct 14, 2011 at 11:00 AM, en4ce djen...@googlemail.com wrote: your wrong, you are using the most up to date version of street view available in the maps api v3, maps.google.com uses maps api v2 but highly customized On 14 Okt., 10:13, jesar james gacul...@gmail.com wrote: I believe, I'm currently using the old version of Google Street View since the features of it are still limited:http://dev.hotelsnearplace.com/singapore-flyer-41797.htm How can I turn it into the new, fully featured Google Street View?http://maps.google.com/maps?q=1.289487,103.862846layer=cz=1... -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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 post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent
I got it! Thank you, Sandeep -- 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/-/X8-QHY3anxIJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: sidebar highlighting issues
Now I would like to have one of the marker's infowindow open on page load. I have tried adding code without success: infowindow.open(map,markers[4]); Please take a look at example: http://www.newton.ac.uk/tmp/stagre01/test/ Can you help me with the correct code please? -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
Re: [Google Maps API v3] Re: sidebar highlighting issues
On 14 October 2011 14:38, Green smgreen...@gmail.com wrote: Now I would like to have one of the marker's infowindow open on page load. I have tried adding code without success: infowindow.open(map,markers[4]); Why not just do what your click does? myclick(4); -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything
On Oct 14, 1:12 am, Martin™ warwo...@gmail.com wrote: I agree. I tend to use the full MarkerImage constructor and have been specifying a scaled size equal to the original icon size. This means i've unknowingingly been disabling any canvas optimisations for my maps! Defintely worth a mention in the documentation i say. Can Ben confirm that passing null as the scaled size property won't cause un-optimalised markers? Beware of this issue: http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/e0bb97bfeaae5957# -- Larry I have a marker manager script that needs to get each icon's size and anchor point so my code needs to icon size and anchor in the MarkerImage constructor. Passing null as scaled size but passing icon size and icon anchor point will give me canvas optimised markers will it? Thanks a lot. Martin. On Oct 14, 8:56 am, Kristóf Kótai kotai.kris...@gmail.com wrote: This is unbelievable... I removed the scaling (which doesn't even happen because the original size is the same as the new size): http://www.viewranger.com/kristof/p3.html And it is really fast... This should definitely be mentioned in the documentation! This would help many people a lot! Thanks, Kristof On Oct 14, 12:37 am, Ben Appleton apple...@google.com wrote: Your code triggers the older DOM markers as it specifies a scale: icon: new google.maps.MarkerImage( 'http://viewranger.com/buddybeacon/v2/images/markers/marker_FF.png', new google.maps.Size(15,20), // original size new google.maps.Point(0,0), // origin new google.maps.Point(8,20), // anchor new google.maps.Size(15,20) // scaled size ) instead if you pass icon: 'http://viewranger.com/buddybeacon/v2/images/markers/marker_FF.png' you'll get the faster Canvas markers. - Ben On Thu, Oct 13, 2011 at 7:39 AM, Kristóf Kótai kotai.kris...@gmail.comwrote: Hi there, I know this issue has been posted probably a couple of times, and the answer was always that we should use the clustering lib to avoid putting too many MarkerImages on the map. But my question is something else: If I put 400 Markers (using the default, Google's marker image as an icon) then why is the map really fast? And if I use a custom icon, no matter how detailed, if it's transparent or not, it will be a 100 times slower. http://www.viewranger.com/kristof/p1.html(Google'sicon) http://www.viewranger.com/kristof/p2.html(Myicon) I tried to optimise the custom icon as best as I could, but when I found out that even using a 5x5 pixel big icon (non-transparent, only #ff colored pixels) and the map is still unbelievably slow, I started windering what kind of magic icon does google use? Why can't I create such a good, optimised icon? Is it even possible to create an optimised icon? Or is Google cheating in someway? -- 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/-/9fmhHrHRU5UJ. To post to this group, send email to google-maps-js-api-v3@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 post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: sidebar highlighting issues
Ahhh... (slap my forehead!) ... Thank you! -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: infowindow behavior...
No help? I'm getting disperate! -- 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/-/sWObP82vik0J. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Display only certain KML features by attributes
Webrider, I am adapting and playing with your excellent code for parsing kmls with very large polygons. I have a couple of questions for you: 1) I have noticed that for large polygons (i.e. ones with over 700 co-ordinate pairs) Mozilla FF cannot plot them correctly using your code. It is as if the array that holds the co-ordinates just stops filling once you get beyond 700 or so points, consequently those large polygons appear cut short on the map. This problem does not occur in IE or Chrome. 2) The great thing about your code is that the only slow part is the line xml = GXml.parse(xmlcontent);, which can take up to 20 seconds with 8 mgb KMLs. But once this has been called once, everything else is instantaneous, so you can traverse the stored XML document and show and hide different placemarks based on attributes within a split second. However I was trying to use it with multiple KML files, one storing polygon data and one storing point data. For some reason when I call the GXml.parse method a second time on a different KML file i.e. xml = GXml.parse(xmlcontent); xml2 = GXml.parse(xmlcontent2); The first xml file gets wiped out of memory, even though the second one has a different name (i.e. xml2). I get the error xml is undefined. Any idea why this is and how to get around it? One workaround is to simply store everything one needs in a single KML file, which is the solution I am working on now. Just wondering if there was another way. -- 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/-/hKeNiuITHwkJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: infowindow behavior...
On Oct 14, 7:25 am, felixweb mordo...@gmail.com wrote: No help? I'm getting disperate! your original message: On Oct 13, 6:58 am, felixweb mordo...@gmail.com wrote: Hello, i'm trying to build a map for my website and i have a behavior i am not able to solve... I don't know if this is due to my limited knowledge of javascript or to my limited knowledge of Gmaps but... http://www.felixweb.it/italia2011f.html here is the map. The code should be downloadable... As you can see in the baloon i put the place and a number, the number should be proressive from the i variable, but i get the latest value in every baloon (the goal is to put the different dates in riga[2] in the infowindows...). What am i doing wrong? :( Seems to be working correctly to me (in Firefox on Linux). Geocoding addresses of known points every time you load the map is bad practice, you should geocode the points off-line and use the resulting coordinates to place the markers. -- Larry -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: infowindow behavior...
http://www.felixweb.it/italia2011f.html Your variable 'map' is undeclared, may give different results in different browsers (doesn't work at all in IE for me) Your code geocoder.geocode( { 'address': luogo}, function(results, status) { data = riga[2]; Your variable 'riga' is undeclared, different browsers etc. Some will assume you meant a global variable. The geocode() call just fires off a request, your loop rolls on and replaces 'riga' with the values for the next marker, fires off another request, etc. At the end of the loop, 'riga' is left at the last set of values. Sometime later, the results come back from Google and the callback function runs, using riga[2] ... which will be that for the last marker. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
Re: [Google Maps API v3] Re: CSS font and line-height?
http://jsfiddle.net/qQJYW/ On Friday, 14 October 2011 10:57:03 UTC+1, THE_AI wrote: @MymsMan could you make another jsfiddle where the text is overflowing the bubble size? -- 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/-/KknpmB9i7wAJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Choosing an autocomplete suggestion vs. submitting form
Right now it appears that choosing a suggestion from the google.maps.places.Autocomplete popup by pressing the Enter key causes the input's form to be submitted. Is there a way to disable this behavior, or at least to distinguish between an Enter key press when the suggestion list is visible and when it's not visible? I see that the code is calling out to PlaceService.GetPlaceDetails before calling the place_changed event handler, so the latter isn't being triggered in the context of the keydown event, and the form submit event gets triggered before the remote call returns. (Also, I've noticed that the results are sometimes inconsistent between the geocoding API and the places search API.) Jim -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Multiple Locations based on SmartInfoWindow by Pamela Fox
Hi All, I am having a bit of an issue with the some code that is based on SmartInfoWindow by Pamela Fox. Hopefully someone will be able to help here? Code can be found here at http://www.frogboxmarketing.com/code/ I have data.js working in the background supplying the long/lat data. How do I have multiple locational data i.e. Descriptions/hyperlinks/photos? for the different locations. Do I amend/duplicate the following code somehow? function makeMarker(location) { var markerOptions = {map: map, position: new google.maps.LatLng(location.lat, location.lng)}; var marker = new google.maps.Marker(markerOptions); markers.push(marker); var content = 'div style=text-align: center; font-size:14px; font-family:arial; color:FF;centerbUpper East Side – South Africa/b/centerimg width=240 height=180 style=margin:10px 0; src=images/ues_gal5.jpg/div style=margin: 0 auto; text-align: right; width: 240px; font-family:arial; color:FF; class=linkbutton/divdiv class=linkbuttona style=font-family:arial; color:FF; href=http://www.panoramio.com/photo/7253919; target=_blankSee more photos at Panoramio.com/a/divbr/div class=linkbuttona style=font-family:arial; color:FF; href=http://www.redefinehotels.com/hotels/upper-east-side-south-africa/; target=_blankRead more about this location/a/div/div'; google.maps.event.addListener(marker, 'click', function(e) { var infobox = new SmartInfoWindow({position: marker.getPosition(), map: map, content: content}); }); } Any help gratefully received. Cheers Tim -- 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/-/8HTgCtX45CsJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] TOS question
I looked over the TOS this morning but have a headache. I thought it would be easier to ask. If I implement google maps and one of the visitors to my site clicks on a location/business can I store that choice for that visitor in my DB? I'm not charging the visitor to access my site but could eventually charge the business for services I would perform. Thanks for feedback or questions if that question doesn't make sense. -- 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/-/N2EIhKc9B3sJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Problems with title of icons?
Hi, The title of icons doesn't work well i Firefox, but fine in Chrome an other!? When the mouse pointer is above the icon a small box with a name pops up. But not all in Firefox. But if I move the pointer away and point again at the same icon it works. It feels very random? Why this and could the code be done in some other way? Thanks! www.arkitekturguide.se -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Problems with title of icons?
This has been discussed recently and acknowledged by Google https://groups.google.com/d/topic/google-maps-js-api-v3/RVDhzc43To0/discussion -- 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/-/n-wsmyALZOYJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format
Hi Berry, I'm very curious that why did you use the magic number :) 256 but not other number such as 320 or 640? I assume number 20 is the max zoom level from Google Map, please correct me if I'm wrong. Thanks, Sam. PS: I noticed that you updated your demo, good job! -- 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/-/xBwuCKYxdsgJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] ie9 geolocation support
It seems IE9 can not support geolocation. Anyone has any solution or suggestion? Thanks. Steve -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Problems with title of icons?
OK, but there is no solution? On 14 Okt, 18:45, MymsMan bobbux...@gmail.com wrote: This has been discussed recently and acknowledged by Googlehttps://groups.google.com/d/topic/google-maps-js-api-v3/RVDhzc43To0/d... -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format
On Oct 14, 5:57 pm, 7heroes s...@knowlittle.com wrote: Hi Berry, I'm very curious that why did you use the magic number :) 256 but not other number such as 320 or 640? I assume number 20 is the max zoom level from Google Map, please correct me if I'm wrong. Thanks, Sam. PS: I noticed that you updated your demo, good job! At zoom level 0, the circumference of the Earth is 256 pixels which is 1 8. At zoom level 1, the circumference of the Earth is 512 pixels which is 1 9. At zoom level 20, it is 268,435,456 pixels which is 1 28. At zoom level 22, it is 1,073,741,824 pixels which is 1 30. At zoom level 23, it exceeds the capacity of a positive 32-bit integer. To avoid overflow, I limit the zoom level to 21. I believe Google does also. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything
On Oct 14, 5:36 am, Ben Appleton apple...@google.com wrote: No, rather the marker scaling triggers the slower DOM markers. Why not use drawImage to rescale the icon into an off-screen CANVAS element which can be defined to be a fill pattern. It avoids the use of on-screen IMG elements which the browser has to rescale repeatedly on the fly. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format
oh I see, this is a great information, but in your case, 256 is half of circumference, am I correct? -- 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/-/9IZP9eC8ZzAJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Google Map Search
A very interesting problem. I been succesfully limiting geocoding for a single country, but multiple countries hmmm... You can adjust the request and you can filter the request. However your example of Boston returns the six first Bostons in the World, all of them in US. So you cannot get anything useful by filtering the results, you have to make the query more intelligent. Syntax for that kind of query is not published. All the help that I can provide at this point, is an old test page that prints the full geocoder response. http://koti.mbnet.fi/ojalesa/geocode/prettygeocode_v3.htm (tested only with FF) -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Google Map Search
Of course I meant that: You can adjust the request and you can filter the _response_. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Add EventListner to marker, which are plotted by KML
On Oct 13, 4:46 am, Chintan Shah chintan.s...@kraffsoft.com wrote: Can we add EventListner to the Marker, which are plotted by the kml ? If you are using KmlLayer you and you are listening for clicks you can use a click event listener on the KmlLayer, which will give you a KmlMouseEvent: http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlMouseEvent or if you want to listen of events other than clicks (and your kml is simple enough), you can use a third party kml parser (geoxml3 is the only one I know of for the v3 API) to render the markers as native Google Maps API v3 markers, then you can add your event listeners to those. -- Larry -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format
On Oct 14, 6:19 pm, 7heroes s...@knowlittle.com wrote: oh I see, this is a great information, but in your case, 256 is half of circumference, am I correct? Yes. It is done to shift the origin from the Greenwich Meridian to the International Date Line. The distance is half the circumference of the Earth in pixels. Zero degrees of Longitude is on the Greenwich Meridian. Zero pixel offset is on the International Date Line. Also, the non-linear Latitude conversion depends on the radius of the Earth in pixels. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] How to change the font for the Directions display
Hi, I have implemented the directions in google maps v3. I would like to know if there is a way to change the font of the steps in the directions. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: ArcGIS link dynamic layers misalignment in Firefox
Works great! Thanks for updating the library. It's nice to use ArcGIS server data from the google maps API! -- 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/-/DajKuiSaUWAJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Search always goes to Pacific Ocean
Hi, I'm having trouble getting the sample code from the store locator page to work. I copied the HTML code from this page: http://gmaps-samples-v3.googlecode.com/svn/trunk/articles/phpsqlsearch/phpsqlsearch_map.html, and uploaded it to my own page. Every search I try takes me to the middle of the Pacific Ocean rather than the correct location on the map. My page is located here: http://www.rentalmatch101.com.php5-20.dfw1-1.websitetestlink.com/googlemap.php. I didn't notice any errors. What did I do wrong? I just copied and pasted the code on the sample page exactly as it was. Thanks -- 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/-/MdWtKKEoNJsJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Search always goes to Pacific Ocean
There's something wrong with your PHP search app (phpsqlsearch_genxml.php), because it's returning an empty XML document. So in your callback function the bounds object is initialized but never set with any other values, so it's defaulting to the Pacific Ocean. For example, a search for texas generates this searchUrl: http://www.rentalmatch101.com.php5-20.dfw1-1.websitetestlink.com/phpsqlsearch_genxml.php?lat=31.9685988lng=-99.9018131003radius=25 which returns no data, so markerNodes is an empty array. -- 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/-/7LG2BOiz5dgJ. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: infowindow behavior...
Well you are using riga[2] and its value is the same at the time when all geocoder callbacks are called. I think you may want to try to add var to riga declaration, i.e. var riga = listah[i].split(';'); Use Firebug in Chrome or Firefox to set breakpoints in your javascript and you would be able to see values during execution. ~Alex On Oct 13, 6:58 am, felixweb mordo...@gmail.com wrote: Hello, i'm trying to build a map for my website and i have a behavior i am not able to solve... I don't know if this is due to my limited knowledge of javascript or to my limited knowledge of Gmaps but... http://www.felixweb.it/italia2011f.html here is the map. The code should be downloadable... As you can see in the baloon i put the place and a number, the number should be proressive from the i variable, but i get the latest value in every baloon (the goal is to put the different dates in riga[2] in the infowindows...). What am i doing wrong? :( -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything
I have built a simple demo: http://home.provide.net/~bratliff/rescale/ -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Search always goes to Pacific Ocean
On Oct 14, 3:07 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 14, 2:15 pm, BruceB bru...@google.com wrote: There's something wrong with your PHP search app (phpsqlsearch_genxml.php), because it's returning an empty XML document. So in your callback function the bounds object is initialized but never set with any other values, so it's defaulting to the Pacific Ocean. For example, a search for texas generates this searchUrl: http://www.rentalmatch101.com.php5-20.dfw1-1.websitetestlink.com/phps... which returns no data, so markerNodes is an empty array. However there is data in the database:http://www.rentalmatch101.com.php5-20.dfw1-1.websitetestlink.com/phps... They are just not easy to find with a radius of 25 miles:http://www.geocodezip.com/GenericMapBrowser.asp?filename=http://www.g... (and some of them have invalid lat/lng coordinates) These three: marker address=123 Somewhere Drive lat=0 lng= distance=6798.3918880607/ marker address= lat=0 lng= distance=6798.3918880607/ marker address= lat=0 lng= distance=6798.3918880607/ -- Larry The OP needs to implement better error handling on the page... -- Larry -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: TOS question
If I implement google maps and one of the visitors to my site clicks on a location/business can I store that choice for that visitor in my DB? Store what, exactly? What will be important is where the information that you intend to store is derived from. The lat/long of a user's click, some business name from your own dataset displayed on the map, something supplied by Google? -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything
Please ignore my previous two posts. It can be done without an extra CANVAS element. I have revised the simple demo: -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Determining and Using new marker positions
Glen: If you just want to see new coordinates, you can try: var infowindow = new google.maps.InfoWindow(); google.maps.event.addListener(marker1, 'click', function() { var latitude = marker1.position.lat(); infowindow.setContent(lat = + latitude + br / + lng = + marker1.position.lng()); infowindow.open(map,marker1); }); Thanks, Radina On Oct 13, 4:29 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 13, 3:36 pm, Glen Bass glen...@gmail.com wrote: Hello: I am attempting to create a worksheet that the user will expand a box to contain a geographic area. I found this sample code and am unable to determine the two sets of coordinates for each of my markers for use in PHP. What have you tried to do? I don't see any code in that page to send the results back to the server (where PHP runs). I do see that the redraw function is accessing the updated coordinates. -- Larry The link for the testpage is below. Any help is appreciated http://www.ecoexam.com/Client/testmap.php Best Regards Glen- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: Add EventListner to marker, which are plotted by KML
On Oct 14, 2:39 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 13, 4:46 am, Chintan Shah chintan.s...@kraffsoft.com wrote: Can we add EventListner to the Marker, which are plotted by the kml ? If you are using KmlLayer you and you are listening for clicks you can use a click event listener on the KmlLayer, which will give you a KmlMouseEvent: http://code.google.com/apis/maps/documentation/javascript/reference.h... or if you want to listen of events other than clicks (and your kml is simple enough), you can use a third party kml parser (geoxml3 is the only one I know of for the v3 API) to render the markers as native Google Maps API v3 markers, then you can add your event listeners to those. I have an almost done conversion upgrading my V2 API parser (the one that handles KML/GML/GeoRSS and relative urls for icon sources and urls within the kml and also builds a nice sidebar for you. Almost complete so you will be able to mention 2 client side parsers for v3 GeoXml I am not sure what to call the new version though as the previous version was just GeoXml (confusingly named) Lance Dyas http://www.dyasdesigns.com/geoxml -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@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.
[Google Maps API v3] Re: GMapsV3 - lots of MarkerImages slow down everything
I've replaced scaled size with null in my MarkerImage constructor and am now seeing canvas elements (using Firebug) instead of img elements. Marker click events all working fine too - touch wood. The map definitely seems smoother to pan and zoom. Martin. On Oct 14, 3:02 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Oct 14, 1:12 am, Martin™ warwo...@gmail.com wrote: I agree. I tend to use the full MarkerImage constructor and have been specifying a scaled size equal to the original icon size. This means i've unknowingingly been disabling any canvas optimisations for my maps! Defintely worth a mention in the documentation i say. Can Ben confirm that passing null as the scaled size property won't cause un-optimalised markers? Beware of this issue:http://groups.google.com/group/google-maps-js-api-v3/browse_frm/threa... -- Larry I have a marker manager script that needs to get each icon's size and anchor point so my code needs to icon size and anchor in the MarkerImage constructor. Passing null as scaled size but passing icon size and icon anchor point will give me canvas optimised markers will it? Thanks a lot. Martin. On Oct 14, 8:56 am, Kristóf Kótai kotai.kris...@gmail.com wrote: This is unbelievable... I removed the scaling (which doesn't even happen because the original size is the same as the new size): http://www.viewranger.com/kristof/p3.html And it is really fast... This should definitely be mentioned in the documentation! This would help many people a lot! Thanks, Kristof On Oct 14, 12:37 am, Ben Appleton apple...@google.com wrote: Your code triggers the older DOM markers as it specifies a scale: icon: new google.maps.MarkerImage( 'http://viewranger.com/buddybeacon/v2/images/markers/marker_FF.png', new google.maps.Size(15,20), // original size new google.maps.Point(0,0), // origin new google.maps.Point(8,20), // anchor new google.maps.Size(15,20) // scaled size ) instead if you pass icon: 'http://viewranger.com/buddybeacon/v2/images/markers/marker_FF.png' you'll get the faster Canvas markers. - Ben On Thu, Oct 13, 2011 at 7:39 AM, Kristóf Kótai kotai.kris...@gmail.comwrote: Hi there, I know this issue has been posted probably a couple of times, and the answer was always that we should use the clustering lib to avoid putting too many MarkerImages on the map. But my question is something else: If I put 400 Markers (using the default, Google's marker image as an icon) then why is the map really fast? And if I use a custom icon, no matter how detailed, if it's transparent or not, it will be a 100 times slower. http://www.viewranger.com/kristof/p1.html(Google'sicon) http://www.viewranger.com/kristof/p2.html(Myicon) I tried to optimise the custom icon as best as I could, but when I found out that even using a 5x5 pixel big icon (non-transparent, only #ff colored pixels) and the map is still unbelievably slow, I started windering what kind of magic icon does google use? Why can't I create such a good, optimised icon? Is it even possible to create an optimised icon? Or is Google cheating in someway? -- 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/-/9fmhHrHRU5UJ. To post to this group, send email to google-maps-js-api-v3@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 post to this group, send email to google-maps-js-api-v3@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.