[OpenLayers-Users] Selecting a country
Eric Lemoine
eric.c2c at gmail.com
Mon Jan 7 00:42:27 EST 2008
On Jan 7, 2008 3:22 AM, David Pruitt <d.pru at hotmail.com> wrote:
>
> Let's say I have a user who is looking at my map, and clicks on a specific
> country. What is the best way to recognize which country he clicked on?
>
> I thought using features would be good, but a user can't pan around the map
> if he/she is holding down the mouse button on a feature.
>
> Is there any way to accomplish this WITHOUT using MapServer or GeoServer or
> something of that sort?
Hello
If the countries aren't rendered by the browser (and therefore you
don't have information about these countries on the client side) then
you need to send a request to some service to get information on the
clicked country. Have you had some other solution in mind?
--
Eric
More information about the Users
mailing list