Richard Korts
asked on
Limit to points on Google MAP?
Is there a limit to the number of "points" that can be displayed on a Google MAP using the API?
See http://www.lawnsprinklerservices.com/testgc4.php.
If it is displayed in FireFox, some of the points are missing, different ones each time.
If it is displayed in IE, it looks complete.
Is this a FireFox problem?
See http://www.lawnsprinklerservices.com/testgc4.php.
If it is displayed in FireFox, some of the points are missing, different ones each time.
If it is displayed in IE, it looks complete.
Is this a FireFox problem?
ASKER
To quicksilver17:
There are about 20 on that page. Did you look at the page?
In IE it looks OK.
In FireFox, points are missing.
Why?
There are about 20 on that page. Did you look at the page?
In IE it looks OK.
In FireFox, points are missing.
Why?
i think that the problem clould be that some of the addresses are not clear for the google
for ex: if i search for - 1529 S Shiloh, Wichita, KS
googles not sure of the address and will result:
1: 1529 Shiloh, Wichita, Kansas 67207,
2: 1529 S Shiloh St, Wichita, Kansas 67207,
3: 1529 S Shiloh Cir, Wichita, Kansas 67207,
4: S Shiloh Cir, Wichita, Kansas 67207,
5: S Shiloh St, Wichita, Kansas 67207,
6: S Shiloh Ct, Wichita, Kansas 67207,
(i check with this : http://econym.org.uk/gmap/example_didyoumean2.htm and with http://maps.google.com ) i suppose therefore the number of markers are displayed randomly
here is some solution for this:
http://econym.org.uk/gmap/didyoumean.htm
for ex: if i search for - 1529 S Shiloh, Wichita, KS
googles not sure of the address and will result:
1: 1529 Shiloh, Wichita, Kansas 67207,
2: 1529 S Shiloh St, Wichita, Kansas 67207,
3: 1529 S Shiloh Cir, Wichita, Kansas 67207,
4: S Shiloh Cir, Wichita, Kansas 67207,
5: S Shiloh St, Wichita, Kansas 67207,
6: S Shiloh Ct, Wichita, Kansas 67207,
(i check with this : http://econym.org.uk/gmap/example_didyoumean2.htm and with http://maps.google.com ) i suppose therefore the number of markers are displayed randomly
here is some solution for this:
http://econym.org.uk/gmap/didyoumean.htm
ASKER
That DOES NOT explain why it works in IE.
The actions going on at the Google servers should be independent of the browser
The actions going on at the Google servers should be independent of the browser
the number of markers are randomly displayed:
i count the markers in IE 8 and was at the first 18 then after refresh 12 , another refresh 11 , another 15 ...
the same results i got in firefox:
my idea is that you could try to change the addresses to coords , instead of writing :13908 E 22nd N, Wichita, KS write: 37.724822,-97.176126 to see if the problems come from the addresses
if all the markers are displayed correctly after more refreshes, and are not random it means that the problem comes from the address
if with coords are also randomly displayed, means something is wrong in the script
try it in IE and FF: check if all the markers are displayed correctly-count the markers , refresh, and so on
i count the markers in IE 8 and was at the first 18 then after refresh 12 , another refresh 11 , another 15 ...
the same results i got in firefox:
my idea is that you could try to change the addresses to coords , instead of writing :13908 E 22nd N, Wichita, KS write: 37.724822,-97.176126 to see if the problems come from the addresses
if all the markers are displayed correctly after more refreshes, and are not random it means that the problem comes from the address
if with coords are also randomly displayed, means something is wrong in the script
try it in IE and FF: check if all the markers are displayed correctly-count the markers , refresh, and so on
ASKER
To quicksilver17:
I refreshed it numerous times in IE.
In IE it ALWAYS shows ALL the markers (as it should).
In FireFox the number varies. I just refreshed twice. The first time (in FF) it showed 13, the 2nd time 18.
There are 21 points altogether.
It will PROBABLY by OK, since the specific screen will be used ONLY by internal staff so I can tell them to use IE (NOT FireFox), but it's still troubling to have it behave randomly in FireFox.
I refreshed it numerous times in IE.
In IE it ALWAYS shows ALL the markers (as it should).
In FireFox the number varies. I just refreshed twice. The first time (in FF) it showed 13, the 2nd time 18.
There are 21 points altogether.
It will PROBABLY by OK, since the specific screen will be used ONLY by internal staff so I can tell them to use IE (NOT FireFox), but it's still troubling to have it behave randomly in FireFox.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The solution does not completely solve the problem.
if you have too many markers (more that 100, not to mention 1000), the markers will overlap and many of them will be unusable
the solution would be, reducing the markers:
-search: provide a search funtion-only that markers will display that match the search criteria
-filter: making a filter funtion on the page for users- only that markers will display that match the filter option
-clustering: instead of display all the markers, cluster of markers are displayed (significantly increase performance)
-grid clustering (most common): divide the map into a grid and group all the markers within each square into a cluster
there are some 3rd party libraries that could help in this: MarkerClusterer and MarkerManager
hope it helps