Tagged Questions
0
votes
2answers
21 views
add a vector point on OSM map
I have managed to show Lat and Lon
function init() {
navigator.geolocation.getCurrentPosition(function(position) {
document.getElementById('myloc').innerHTML="Latitude: " + ...
1
vote
1answer
88 views
How to reproject this vector layer?
I have a dxf file and use this tool to convert it to shapefile.
Then I apply some affine transformations and get a shapefile that does not fit the shapefiles downloaded from osm (EPSG:4326).
I know ...
7
votes
5answers
468 views
Libraries to render vector-based maps in the browser
Is there a open source JavaScript library like leaflet or openlayer which can be used in a web or mobile application and loads vector-based maps instead of images? I only need the road information and ...
2
votes
1answer
242 views
How to use a sld file with Openlayers using OSM data?
My app, made with openlayers, displays building data called from overpass api.
var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
1
vote
0answers
241 views
Vector layer shifted on OSM map: why?
I've defined the following map:
Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
2
votes
2answers
413 views
How to render a multi-layered (raster + vector) map to a file (PDF, SVG or JPEG, PNG)?
When using OpenLayers I can compose a map with several layers which is displayed nicely by my browser, but I need to do the same server side (no browser composing the layers), and I'm waiting a image ...
1
vote
2answers
84 views
How to join polygons and lines vector maps from openstreetmap?
I am struggling with the data format OSM gives me: I want to use OSM data for routing, but all round-abouts and parking lots are not in the lines layer. They are situated in the poly(lines) layer.
...
1
vote
1answer
589 views
OpenLayers : How to make a marker fixed [duplicate]
Possible Duplicate:
How to skip drag event to stop a feature being dragged
I've created a map and added markers to baselayer on click by using this code :
vectorLayer = new ...
5
votes
1answer
225 views
Vector Building Footprint Resources - Tokyo
I typically know where to look for this data in the United States, but I'm at a loss when looking for building footprint shapefiles abroad. I thought I could find what I was looking for with Open ...
2
votes
3answers
741 views
Change zIndex of Vectors in openlayers
I have a bunch of linestring features on a vector layer. Some of them overlap. If I trigger the hover event on those features, I want them be in front.
I did find some functions to set the z-index of ...
1
vote
1answer
301 views
openlayers trigger hover event
I have a bunch of tracks on screen in a vector layer. I used some hover and select styles in the layer styleMap and these styles are properly triggered by:
var highlightCtrl = new ...
2
votes
2answers
230 views
How OpenStreetMap data layer works?
OSM map has a data layer and an information panel. How is it implemented? What is a type of the layer and URL of vector data source? How information panel works?
Thanks for all!


