Only 11 markers displayed

Dec 18, 2012 at 9:04 PM

Hi, I saw a previous post where someone had an issue with only the first 11 markers being shown.  I'm having the same issue and it is not data-related (i.e. I can cut the first several points off, and it will show the next 11 fine).  One solution that was posed was to turn off MarkerManager.  However that option is not available in version 6, and since there is no documentation for version 6 yet, I have no idea how to solve this problem.


Thoughts / suggestions / help?

 

Thanks

Dec 19, 2012 at 2:01 AM

Figured out the answer myself.  Google Geocode will only return 10 results.  So if you use your .address to plot markers, you'll only get the first 10.  Spent a couple hours and built my own, so please disregard.

Jan 6, 2013 at 8:43 PM

Hello

I have same problem and i am trying find the fastest solution. Is there a chance that you could post your own solution and by this way help me (and possibly help others perhaps) ?

 

Thanks

Jan 30, 2013 at 4:19 PM
Edited Jan 30, 2013 at 4:21 PM

I've been looking into this as well and it turns out that the Google Maps API limits the amount of markers that you can place within a second.

One solution that I've seen for people using the API directly from JavaScript is to simply incorporate a delay in the placing of the markers. This would still seem to limit you to 10 markers per second.

It would seem that the control may need to be modified to account for the 10 marker per second limit.

https://developers.google.com/maps/documentation/business/faq#usage_limits

http://stackoverflow.com/questions/7649155/avoid-geocode-limit-on-custom-google-map-with-multiple-markers/7651681#7651681

Jan 30, 2013 at 4:44 PM

I did some more digging and it looks like the 10 marker per second limitation is for only when you specify addresses. If you specify a latitude and longitude, it doesn't look like there's a limit. I haven't confirmed this myself but it looks promising.

Work Around

Jan 30, 2013 at 5:35 PM

Hello

You are right. When you add marker and specify location by address, you are limited.  When you add marker and specify location by coordinates, then everything is ok. Few posts back is this described

http://googlemap.codeplex.com/discussions/275468

if you dont have coordinates, you can use GeoRequest to get position (but i suppose that this using direct request from server (from 1 IP) - so limit per day can be very easily overflowed) - it can still be bypassed using coordinates as described in link.

But when you use GoogleDirection (http://googlemap.artembg.com/directions/default.aspx), you can specify only 10 directions, also if you are using coordinates (and no address). Its probably because of created direction is calling some service which returns direction.

I am also wondering if you can set more points in direction than start and finish (some sub-points), but i suppose that this is little off-topic.

I hope that the solution with showing delay markers could work with Directions too (I hope because thats something that i will have to solve in next days :) (or when will be enough time))