Over the past several days I've read as much as possible regarding the OpenLayers API (within a JavaScript/jQuery environment), yet I'm still having trouble in getting my head around what I believe to be basic features.
I can successfully place maps on my page, set bounds, etc, etc, but I'm having an incredibly hard time in the following:
My requirements are extremely simple, I want a 'file' (KML, JS, I don't know) of each country and it's borders so that I can simply (as an example) select a country from a dropdown list and OpenLayers highlight that country!
I did think it would be a simple task, have gone through all 220 examples of the OpenLayers website and can't see anything remotely close.
I've been here: http://thematicmapping.org/downloads/world_borders.php
Downloaded the WorldData which I thought would have the vector co-ordinates for the worlds countries borders, it looks to be a database file but haven't a clue what to do with this!
Can you break down the basics and show a basic example of what I'm after?
