On Oct 11, 5:00 am, lwall_mba <[email protected]> wrote: > Hi all, > > I am new to Maps API v3 and I am experimenting with a few things. I > am trying to draw all states and later counties os the USA. I started > with the examples here (http://code.google.com/apis/maps/documentation/ > javascript/overlays.html#PolylineArrays) and have put together a quick > test page of my own here (www.lucaswall.com/MapOverlaysStates01.html). > > As you can see in the source code, I have hard coded all LatLng info > in the page. I used the dat files the census bureau posted here > (http://www.census.gov/geo/www/cob/co2000.html) > > I am familiar with vbscript and how to open a txt file and parse > through it. I imagine javascript should work similarly??? I am not > familiar with it but I am looking for a js solution because Google > Maps API v3 uses it. > > Question 1: Can I use javascript to call a file from the server that > gives all LatLng points to the script?
Yes. But not a Google Maps API v3 question > How would that script look like? Which instructions? Any examples of > similar things online? I would suggest searching: 1. Mike Williams' v2 tutorial (he has a couple of examples, and that doesn't have anything to do with the google maps api per se). 2. Searching the web (Google is your friend). > > Question 2: Should I use XML and PHP instead to do such thing because > javascript is not appropriate? If you would like. There are examples of that all over this group, the v2 group and the web. -- Larry > > Thanks -- 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 [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-js-api-v3?hl=en.
