Ok so, if I understand, your recommending that I have the records determine their lat/lon when they're entered into the db and then plot by lat/lon when the map is displayed. Is there a way to query the google geocoder using PHP?
Thanks Peace ~Sam Auciello On Nov 5, 2:47 pm, Grok Lobster <[email protected]> wrote: > If your points are static, you should not be using the geocoder each > time. > > On Nov 4, 12:25 pm, Sam Auciello <[email protected]> wrote: > > > I built the map application for the page linked here: > > >http://www.meanderingmaine.com/mapit.php?region=1&county=&category= > > > The application basically uses PHP to pull location records from a > > database (based on search criteria) and then parse that data into a > > JavaScript file that creates the map and plots a point on it for each > > location record. My client noticed that three records in particular > > are not showing up when the search criteria are broad enough for all > > of the points in the db to be called. This is the case with the link > > above. If you specifyWaldoCounty in the county drop-down, the > > points appear. I checked the php created JavaScript file and found > > that the points in question had in fact come out of the db and are > > being parsed into the appropriate Google Maps Code in precisely the > > same way that they are when I specifyWaldoCounty. The only > > difference is that they don't always show up on the map itself when > >WaldoCounty isn't specified. > > > My theory is that the map just can't handle this many points and for > > whatever reason these ones are being dropped. I tried manipulating > > the code that queries the db to return a different subset of records > > that includes these three points and has about as many records as the > > subset returned when I specifyWaldoCounty. The points all showed > > up. > > > It doesn't seem to matter which browser I use or how fast a > > connection / how much RAM etc. Is there a fundamental limit to how > > many points can be plotted on a map at once? Alternately, if plot the > > points by Lat/Lon instead of using the geocoder for each point each > > time the page loads, might that help? > > > For reference the points that go missing are named: > > > "Belfast Bay Inn & Luxury Suites" plotted at "70 Main St, Belfast > > Maine 04915" > > "Belfast Bay Inn & Luxury Suites for Wedding Parties" plotted at "74 > > Main St, Belfast Maine 04915" > > and > > "Molly Amber Gifts" plotted at "72 Main St, Belfast Maine 04915" > > > to find them on the map, specifyWaldoCounty, and zoom in on the > > cluster of points near "Belfast Bay". They are sort of hidden behind > > "Yo Mamma's House". > > > Thank You in advance for any help. > > > Peace > > ~Sam Auciello -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=.
