[OpenLayers-Users] Any good tool for creating vectors available around?

2010-02-14 Thread Vincent Gulinao
I'm trying to define lots of boundaries (e.g. political boundaries down to city level of a certain country) but the only method I know is to manually plot them (i.e. manually taking note of MousePosition, then plot to supported format). I'm sure this is a common burden to many map developers, so I

Re: [OpenLayers-Users] How to make OpenLayers.Map.panTo() work?

2010-02-06 Thread Vincent Gulinao
ge: function setCenter(region) { lon = Math.random() * 360 - 180; lat = Math.random() * 180 - 90; var lonlat = new OpenLayers.LonLat(lon, lat); map.panTo(lonlat); } ... but it only brings me to (I believe) 0,0. I've been trying to figure it out for hours but with no luck. Please h

[OpenLayers-Users] How to make OpenLayers.Map.panTo() work?

2010-02-06 Thread Vincent Gulinao
I'm a newbie, I copied this from an example somewhere to start: map = new OpenLayers.Map('map', { numZoomLevels: 19, maxResolution: 156543.0399, units: 'm', projection: new OpenLayers.Projection("EPSG:900913"), displayProj

[OpenLayers-Users] Creating custom layer

2010-02-01 Thread Vincent Gulinao
I'm a total newbie on Openlayers, and map dev in general. I need to develop custom layer defining map political boundaries just like this: http://www.google.com/intl/en_us/2008election/. I'd appreciate pointers, code sample and docs links, learning path suggestions, etc. that you may give. TIA.