On Nov 9, 8:23 pm, Sam Auciello <[email protected]> wrote:
> Ok now I'm just confused.
>
> I rebuilt the app to store lat/lon values in the db by geocoding when
> things are entered into the db. Now the JavaScript just plots things
> by lat/lon, no geocoding involved. It loads faster but one of the
> locations still isn't showing up.
>
> "Belfast Bay Inn & Luxury Suites" plotted at 44.4264,-69.0065.
>
> If you search just for the mid-coast region, it doesn't appear. If
> you search for Waldo County, it doesn't appear. If you search for
> lodging it does. In all three cases it shows up in the php generated
> JS file exactly as it is meant to and I can't see any bugs in it.
>
> Any ideas..?
Have you looked behind:
Molly Amber Gifts
72 Main Street, Belfast Maine 04915
207.338.5600
more info →
point = new GLatLng(44.4264,-69.0065) ;
var marker156 = new GMarker(point,markerOptions) ;
map.addOverlay(marker156) ;
Belfast Bay Inn & Luxury Suites
74 Main Street, Belfast Maine
point = new GLatLng(44.4263,-69.0065) ;
var marker114 = new GMarker(point,markerOptions) ;
-- Larry
>
> Peace
> ~Sam
>
> On Nov 5, 3:41 pm, "[email protected]" <[email protected]>
> wrote:
>
> > 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.
>
> >http://www.geocodezip.com/example_geomulti_bad3_xml.asp?filename=mean...
>
> > If you check the errors, you will see that you are querying the
> > geocoder too fast...
>
> > -- Larry
--
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=.