0
votes
1answer
16 views

How can I add google map layer as additional layer (OpenLayer, OSM)?

I am total newbie when it comes to Geoserver, JavaScript etc. I have managed to get my map working and the layers from my localhost are showing on the map. Base layer is OSM but I would like to add ...
1
vote
0answers
22 views

Add WMS from geoserver to openlayers with OSM baselayer

I am new to javascript/the openlayer. Maybe you can provide me with some help. I would like to add a wms layer (BLD_504) from dwasa (workspace) locally. The code is as follows: <title> ...
1
vote
0answers
26 views

Routing and OpenLayers: How would you connect a point to another through a 'road' node? [duplicate]

So my question is in a routing application,probably using osm as base layer, how do I get a line-string that goes through the road and not directly from one point to another? Is there any ...
1
vote
1answer
35 views

Select buildings in a html map and get osm

I have my own database of buildings with the architects and some metadata. In the past I tied them manually to the ID of openstreetmap. But now I need a map where I can click on a shape of building ...
0
votes
0answers
14 views

Openlayers map changelayer event firing twice for params

I have registered changelayer event of my map. var registerEvents = function () { map.events.register("changelayer", null, onMapLayerChanged, true); }; var onMapLayerChanged = ...
0
votes
0answers
124 views

GeoServer, OpenLayers and updatable views: unable to edit data of WFS-T feature layer

I am developing an web application, where the user is able to view and update some feature attribute of a WFS layer. My problem: the edited data is not saved at all. Here's the situation: GeoServer ...
0
votes
1answer
46 views

Using Arcgis and OSM tiles in Openlayers application

I created a map object and specified options according to Arcgis tiled map tiles. var options = { scales: [120000, 60000, 30000, 15000, 5000, 2500, 500], resolutions: ...
1
vote
1answer
23 views

Can't send an array via Protocol.HTTP()

I'm trying to send a JSON file to my Node.js app via Protocol.HTTP. The file is correctly sent, but I can't access to an array. Here is the relevant code : Client side (...) var vectorProtocol = ...
0
votes
1answer
16 views

How to get pgrouting source and target value using openlayers 2/3?

Is there anyone can teach me how to get the pgrouting's source and target parameters in openlayers 2/3? I plan to get those parameters by click the OSM map layer. Currently, I can only get the lonlat ...
1
vote
0answers
21 views

How to display specific areas specified by Global MapIt Area ID in Open Street Map using Open Layers?

I've been customizing the Fix My Street platform for the two cities in my country, just to test everything out in it and how it works and maybe implement it for the whole country in the future. The ...
1
vote
1answer
75 views

How to render tiles from kml file

I'm trying to render tiles out of a KML file. Normally, I'd render tiles out of an planet.osm extract. For example, I'd select a tag using osmosis and then process it with osm2pgsql. Then I'd ...
1
vote
0answers
105 views

Openlayers Map Marker / Popup Behaviour Mobile Devices

Quick overview. i am creating a site with a map using Openlayers and Open Street Maps. User clicks on map and fills out a popup form and submits form. Markers appear at lonlat points where map was ...
1
vote
1answer
39 views

Why does geoserver layer disappear when baselayer is false?

I am trying to overlay a layer from Geoserver on an OpenStreetMap base layer. If I load the Geoserver layer as a base layer, I can see it - but if I set baselayer to false it disappears. My code is: ...
1
vote
1answer
139 views

Development guide for beginner? [duplicate]

Im new to GIS and mapping, and I need to learn how to create web map application for my project. I'm really confused on what to use. I have read PostGIS, OpenStreetMap, and Openlayer. I'm wondering ...
3
votes
1answer
131 views

Can OpenLayers.Layer.OSM (the OSM tile servers) be used in production environment?

open layers has an openstreetmap layer built in : OpenLayers.Layer.OSM (are the tiles they use from openstreetmap servers or somewhere else?) can it be used in a production environment in terms of: ...
0
votes
1answer
53 views

OpenLayers - when zooming out OSM layer “slips” East

I have some code that displays an OpenLayers map composed of various layers (vectors, markers and features) on top of an OpenStreetMaps basemap. Everything worked fine until some months back. ...
0
votes
2answers
180 views

How to find when train nears station? [closed]

I am creating an app for tracking trains. When the train comes near to a railway station the system should identify it. To do that I want to gather GPS coordinates near the station and save them. ...
0
votes
1answer
36 views

Using OpenLayers and OpenStreetMaps to display statistical information with colors : possible?

I'm planning to build a statistical tool using OpenLayers and OpenStreetMaps. This tool will have to display statistical data for french departments with colors. What I would like to do is the same as ...
0
votes
0answers
45 views

openlayers setCenter issue (other posts on this do not solve it)

I can't get map.setCenter to display an OSM layer (via openlayers) centered at my specified coordinates. Instead it defaults to the West Coast of Africa. The zoom level does however work. Both of ...
1
vote
0answers
75 views

Building a road path using openlayers and shapefiles? [closed]

I'm looking to learn OSM and Openlayers. From what I can tell, I need OpenLayers to display the map on a website and I need shapefiles to do any manipulation on the map regarding its topographical ...
2
votes
4answers
485 views

How to make a private OSM (Save personal information to) a map using OpenLayer or Tilemill or mapbox

OSM (OpenStreetMap) is great for making a real time public map for general purposes but what if I want to add private info to a map such as the location and date of my first kiss or a note about every ...
0
votes
0answers
56 views

how to easily serve vector layer with extra attributes for openlayers

On a website I'd like to show an openstreetmap with buildings colored by a certain feature (tag). So far I was able to extract the buildings for a bounding box, save them as an osm file and load it ...
3
votes
4answers
135 views

How to select features in OpenStreetMap

I'm using OSM (online) with OpenLayers to show my map (I don't have a mapserver) but when I do this: map = new OpenLayers.Map( 'map', {numZoomLevels: 7, units:"km", minZoomLevel: "10" } ); ...
2
votes
0answers
260 views

It is possible put highcharts chart in openlayers popup?

As title. I build a openlayers map on my website. and there are many feature vector on the map. now I want to put a highcharts charts in popup. to show the temperature in every city something Like ...
1
vote
1answer
193 views

Geoserver WMS layer does not show in OpenLayers

I'd like to overlay a Geoserver WMS layer in OpenLayers & OpenStreetMaps. I'm having problems because the wms is not showing on top of the OSM layers (mapnik, cyclemap). This is the code: ...
3
votes
2answers
280 views

Displaying OSM file with markers

I'm trying to show OSM file which I exported from openstreetmap api. However, layer I add with OSM file is displaying like just polygons, I cannot show markers (street names, names of buildings etc.) ...
1
vote
0answers
54 views

How to initialize OpenLayers with no maps? [closed]

I need to reload my map oftentimes to test my layers and don't want to wait for OSM to load every time. How to avoid the main layer (the OSM map) to load and work only on my feature layers?
2
votes
2answers
2k views

Offline map(google/openlayers) for HTML5(Angular) based hybrid application

I have a requirement where the customer has explicitly asked for offline support for the map. The rest of the application works well offline, but i am not sure how to get this done using Google or ...
0
votes
2answers
582 views

Clear markers from OSM map with openlayers

I have a bunch of Point data that refreshes every few minutes. To render these points, I have created the markers as OpenLayers.Feature.Vector Objects and added them to my Vector layer. The layer gets ...
1
vote
2answers
1k views

Openlayer maps issue with ssl

I am using openlayers map by using the hosted js : <script src="http://openlayers.org/api/2.13.1/OpenLayers.js"></script> But my client has ssl installed and when i try to run my map ...
0
votes
0answers
122 views

Accuracy problems with Openlayers\Openstreetmap\AnimatedCluster

I am working on a OSM map that clusters several points with a modification of AnimatedCluster (https://github.com/acanimal/AnimatedCluster). However, somewhere the accuracy seems to lack. Can ...
1
vote
2answers
195 views

Serving multiple styles from tile server

I installed an OSM Mapnik tile server (according to the switch2osm documentation). Now, i'd like to serve tiles in different styles from the same server. Is this somehow possible?
2
votes
1answer
242 views

Qgis OSM and layer projection problem

I am using QGIS 2.1.0, and trying to import my vector layer(parcels) with OpenStreetMap layer. My vector layer (parcels) use EPSG 31277 coordinate system. This is the definition for EPSG 31277: ...
5
votes
2answers
112 views

Following path in OpenStreetMap

I want to visualize a road present in the OpenStreetMap. Using OpenLayers, I try to do in the following way: Take a set of co-ordinates which should represent the two sides of the road. Join both ...
7
votes
2answers
424 views

What does vector tiled map mean?

I'm working on an application that renders geoJSON into OpenLayers map. The idea is about not having PNG images downloaded from external services (OSM or Bing) but having geo information in geoJSON ...
0
votes
0answers
64 views

OpenStreetMap shp layer is shifting

I am dealing with this issue more than 2 month and i am hoping that some one have a lead for me. I am using Openlayers to show some vectors layers like buildings, points, gardens and more layers that ...
1
vote
2answers
835 views

OpenLayers plugin for QGis problem with maps loading

I am new in GIS. I use QGis 2.0.1 with OpenLayers plugin downloaded from official repository. When I click to Add OpenStreetMap layer the map is not showing and load process is neverending. What is ...
1
vote
0answers
38 views

Are there any js libraries for reading OSH data?

I want to do time based mapping on openstreetmap data in the Kathmandu, Nepal area. I think i have two options Using OpenStreetMap Change files (OSC) Using OpenStreetmap History files (OSH) I have ...
0
votes
2answers
193 views

How to use OpenLayers OSM-Layer with degrees instead of meters?

I have an OSM-Layer as a base layer. When I create a vector I have to define the coordinates in meter. Is there a way to use degrees right a way without reprojecting them beforehand to meters? var p0 ...
1
vote
0answers
37 views

Is there an OpenLayers event when reaching bounds?

I have an app using OpenLayers and OpenStreetMap tiles. There are more zoom levels for the capital and less zoom levels for the entire country. Let's say the user is in the capital, in his car, in ...
6
votes
5answers
388 views

Is it possible to redesign OpenStreetMaps tiles?

We have an application working with open layers and are using open street maps for the map tiles However they don't look great Is there anyway to style these maps? I read something about Mapbox but ...
0
votes
1answer
265 views

OpenLayers - changing layer type (wms to OSM) and WKT transformation problems

I've created the very simple tool which utilizes OpenLayers.Format.WKT with DrawFeature - polygon and ModifyFeature together, so I can create and modify, load and save polygons in/from WKT format. ...
1
vote
0answers
116 views

What are the pros and cons of each mashup baselayer? [closed]

I've been making some mashups recently in OpenLayers and find myself naturally favouring OpenStreetMap as a baselayer, I think this is mostly because I like the concept. I realised the other day that ...
2
votes
4answers
933 views

How to get street names from OpenStreetMap?

I have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. ...
4
votes
3answers
331 views

More zoom in base layer in openlayer.

I have some GIS project to do, in this project I need to place something like 20,000 trees on a map. So I did a web app with .net that includes map that based on OpenLayers with bing base map. My ...
1
vote
1answer
2k views

OpenLayers: Problems adding WMS layer to OSM

I need to create a map with 2 layers. The first layer (basemap) is the OSM layer, and the second layer is my custom geoserver WMS layer. This layer is in EPSG:4326 projection. Is this possible? I have ...
2
votes
2answers
1k views

Why does OpenLayers load OSM-like tiles, but does not show them?

I created a tile server with OSM-data in the German style. The data is quite similar to the official tile server for openstreetmap.de, provided by Fraunhofer IOSB. ...
3
votes
2answers
2k views

OpenLayers vs Leaflet for specific app

Could anybody give me some advice on which one should I use? OpenLayers or Leaflet I will implement OSM on a web-app for taxi management. The requirements for the map part are: Tracking of the ...
0
votes
2answers
395 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: " + ...
0
votes
1answer
560 views

How to create a map with OSM and webatlas.de's WMS layer?

I spent hours trying to figure out the following problem, I hope someone can help me. You can see here that this WMS has different Projections available: ...