On Dec 29, 8:56 pm, Mohan <[email protected]> wrote:
> Thanks, able to get coordinates data for states 
> athttp://www.dyngeometry.com/web/WorldRegion.aspx
>
> Now I can put these cordinates in xml file and load the xml file to
> show the states.
>
> How can I bind this to data source so that I can display demographics
> dunamically ?

Didn't I answer that in my second post?

+ 2. color coding polygons in kml? - not a google maps API issue, is
a
+ KML issue, see the KML reference:
+ http://code.google.com/apis/kml/documentation/kmlreference.html

If you want to do that dynamically, you will have to generate the kml
dynamically (add the color to each polygon based on your
demographics).

  -- Larry


>
> Rgds
> Mohan
>
> On Dec 28, 3:43 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > On Dec 27, 10:39 pm, Mohan <[email protected]> wrote:
>
> > > Thanks Lary.
>
> > > I downloaded the tool and trying to open .shp files, its giving error
> > > and abort the app.
>
> > > Is there any other way to achieve displaying demographics without
> > > using KML files ?
>
> > There are lots of ways.  But you have to get the coordinates to create
> > the polygons somehow.
>
> > Maybe someone else has created kml you can 
> > use:http://www.google.com/search?client=gmail&rls=gm&q=South%20Africa%20s...
>
> >   -- Larry
>
> > > Rgds
> > > Mohan
>
> > > On Dec 28, 9:58 am, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Dec 27, 11:39 pm, Mohan <[email protected]> wrote:
>
> > > > > Lary, I want guidelines on how can I achieve the task stated in my
> > > > > question with Google maps.
>
> > > > Google Maps?  Or using the Google Maps API v3?
>
> > > > > So if you can tell me follow these steps to
> > > > > display demographics, lets say i want to show the readership details
> > > > > of news paper , I have data for each state, how can I display these on
> > > > > google maps? I want to color the states polygon but I don't have
> > > > > latitude and longitudes of polygon.
>
> > > > To create the states polygon you need to:
> > > > 1. download the appropriate shapefile from:http://www.diva-gis.org/gdata
> > > > 2. convert the shapefile to kml by using a conversion program.  I use
> > > > software from here:http://fwtools.maptools.org/
> > > > (it is free, you should be able to download it, install it on your
> > > > computer and run it)
>
> > > > An alternative would be to search the web to see if someone has
> > > > already created kml you can use.
>
> > > >   -- Larry
>
> > > > > -Mohan
>
> > > > > On Dec 28, 9:12 am, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > On Dec 27, 11:04 pm, Mohan <[email protected]> wrote:
>
> > > > > > > Thanks Lary.
>
> > > > > > > I want to show the demographics by color coding the polygons, 
> > > > > > > which
> > > > > > > are states of the South Africa.
>
> > > > > > > When browsing , i am not able to found any code sample for above
> > > > > > > thing. Can you please help me ?
>
> > > > > > What kind of code samples do you need?
> > > > > > 1. displaying kml on a map using the API? - see the documentation
> > > > > > 2. color coding polygons in kml? - not a google maps API issue, is a
> > > > > > KML issue, see the KML 
> > > > > > reference:http://code.google.com/apis/kml/documentation/kmlreference.html
> > > > > > 3. translating shapefiles to kml? - also not a google maps API 
> > > > > > issue:http://www.google.com/search?client=gmail&rls=gm&q=translate%20shapef...
> > > > > > I use software from here:http://fwtools.maptools.org/
>
> > > > > >   -- Larry
>
> > > > > > > Rgds
> > > > > > > Mohan
>
> > > > > > > On Dec 27, 8:37 pm, "[email protected]" <[email protected]>
> > > > > > > wrote:
>
> > > > > > > > On Dec 27, 1:56 am, Mohan <[email protected]> wrote:
>
> > > > > > > > > Hi,
>
> > > > > > > > > I am new to Google MAPS. I need a help.
>
> > > > > > > > > As a part of my project, I need to highlight the 
> > > > > > > > > states/Provence of
> > > > > > > > > South Africa using google map according to demographics.
>
> > > > > > > > > But I am not sure how can I get the states boundaries ? I 
> > > > > > > > > know each
> > > > > > > > > state is polygon, but how can I get lat/lang values for each 
> > > > > > > > > state ?
>
> > > > > > > > Have you tried:http://www.diva-gis.org/gdata
>
> > > > > > > > > Please suggest how can I achieve this ?
>
> > > > > > > > Download the shapefiles, convert them to kml, display the kml 
> > > > > > > > using
> > > > > > > > KmlLayer, not sure how you want to display the demographics 
> > > > > > > > (inside
> > > > > > > > the infowindow, color coding the polygons...)
>
> > > > > > > >   -- Larry
>
> > > > > > > > > will appreciate any help on this.
>
> > > > > > > > > Rgds
> > > > > > > > > Mohan

-- 
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.

Reply via email to