Dear Larry,
I have no problem in getting the value from the database as I
have shown my two sample values. The problem is how to show it in the google
map?Into what function must I send this value in order for the geo fences to
appear? Thank you.
On Tue, Aug 17, 2010 at 4:06 AM, [email protected]
<[email protected]>wrote:
> On Aug 16, 12:11 pm, ss <[email protected]> wrote:
> > Dear All,
> > In my database I have stored the polygon points for
> > example in this format
> > POLYGON((100.30695140361786 5.379924108386956,100.30693262815475
> > 5.379811951847182,100.30695140361786
> > 5.379534230802661,100.30695140361786 5.379924108386956)) and for
> > single point is like this POINT(103.92508506774902 1.461838406932495).
> > So my problem now is it possible for me to read from the database and
> > then in the google map is there any function which can read this point
> > and show me the shapes accordingly.
>
> That sounds like a database problem, not a Google Maps API problem.
> The Google Maps API allows you to display polygons that are defined by
> either arrays of GLatLng objects or encoded. If you can get that data
> from the server to the browser, you should be able to display it. If
> you can't get that to work, post a link to your map and someone may be
> able to help.
>
> > One addition thing for the POINT I
> > will also have radius value in km. So when I draw the circle I want it
> > to follow the radius value? Is this possible?
>
> Yes. The Google Map API allows you to create polygons, including
> circles:
> http://www.geocodezip.com/overlappingPolygons.asp
>
> -- Larry
>
> > Thank you.
>
> --
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>
--
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=en.