[Google Maps API v3] Re: search kml by radius from a given point

2010-08-11 Thread Rossko
> But can you give me an example about this part if it is possible Get whatever it is you are using to parse your KML to build you some array of the Placemarks you are interested in. Storing the API marker objects created from the Placemarks might be useful, rather than the KML itself, as that ma

[Google Maps API v3] Re: search kml by radius from a given point

2010-08-11 Thread Genti Qirjazi
> > Which part, checking through all the KML Placemarks? > Can't tell you, because we do not know what decisions you have made > about accessing your KML. But can you give me an example about this part if it is possible Any example could work. thanks -- You received this message because you

[Google Maps API v3] Re: search kml by radius from a given point

2010-08-10 Thread Rossko
> Could you tell me specifically how to do this, please > because i have some difficulties on understanding this. Which part, checking through all the KML Placemarks? Can't tell you, because we do not know what decisions you have made about accessing your KML. Distance of a given point from your

[Google Maps API v3] Re: search kml by radius from a given point

2010-08-10 Thread Genti Qirjazi
> Then "all you have to do" is check through all the Placemarks in the > KML to see which ones fall within your search area, by calculating > distances from the clicked point. Rossko, Could you tell me specifically how to do this, please because i have some difficulties on understanding this.

[Google Maps API v3] Re: search kml by radius from a given point

2010-08-05 Thread PaulG
I don't know your exact situation, but if your aim is to zoom in on the kml set of markers so that only a limited number are shown which equate to about a particular radius, then look at zooming the viewport in to a known level. ie Level 8 at 500px square shows 1 square mile (thats a rough guess b

[Google Maps API v3] Re: search kml by radius from a given point

2010-08-04 Thread Rossko
> For example :  when a user click to a place > > 1- A radius is shown up > 2- Every data(in kml) that is inside that radius is shown > > I want to know a js code that is capable to do this. I think you will have to develop this for yourself. This might be useful for part 1 http://code.google.com