An object used to indicate a position, place, or route

learn more… | top users | synonyms

0
votes
1answer
994 views

Center (and add points too) a map with LonLat

I'm new to OpenLayers, so I'm sure this will be an easy win for someone :) I'm trying to center a map on a point (and place markers) using lon/lat but it appears to take everything as meters? ...
0
votes
2answers
2k views

OpenLayers: How do I keep a feature fixed while the map layer is moved (like in-car GPS displays)?

I am aiming to create something simple that works like a GPS navigation display, where the marker for 'you are here' is fixed while the map moves along. I have latitude and longitude coordinates ...
0
votes
1answer
848 views

Showing custom markers, shadows and popups from json data

The examples given in the documentation of Open Layers show very basic ways of utilising the different features. This example shows how to add shadows to the marker. This example shows how to create ...
0
votes
1answer
715 views

Is it possible to show markers from MySQL database with Javascript?

I'm interested if it's possible to show markers (latit, longit) from MySQL database with Javascript libraries like Leaflet?
0
votes
1answer
34 views

How to show/hide markers that are inside a function using js?

I have a map with a lot of markers that are pulled from this function: function showResourcesByName(name) { for (var i = 0; i < markers.resources.length; i++) { var resName = ...
0
votes
0answers
12 views

Drag'n'drop form fieldset to Openlayers map or viceversa

I tried to google if somebody would have tried this but all I could find was drag'n'drop functionality for available markers. I would like to use dynamic form for creating eg. title and description ...
0
votes
0answers
22 views

How to calculate the number of markers with in a polygon in openlayers3

I am using https://github.com/tombatossals/angular-openlayers-directive openlayers angular repository and plotting markers on the map as shown below <!DOCTYPE html> <html ...
0
votes
0answers
19 views

how to place markers on the image using openlayer3

In openlayer3 we have a feature where we can use any user defined image as the base map like the sample shown in the link http://openlayers.org/en/v3.6.0/examples/static-image.html i want to place ...
0
votes
0answers
44 views

How to add marker dynamically when clicked on map using OpenLayers 3?

I'm trying to add point (marker) on map click with custom style using OpenLayers 3. I tried this code, but nothing happens when user click on the map: var map = new ol.Map({ layers: [ ...
0
votes
0answers
19 views

Save markers to text file in OpenLayers

Is it possible to save/create existing markers with custom icons to text file using OpenLayers.Layer.Text as I need to add load those markers function later?
0
votes
0answers
32 views

Add vector icons and popups in openlayers 3.11

here's what I am working on: http://environmentalobservatory.net/Calumet/3scale.html It works great so far and now I want to put icons, or what we used to call "markers" on it. But I can't find any ...
0
votes
0answers
38 views

KML with many markers issue in Wordpress + Flexible map plugin

I have issue with map markers in maps displayed on one web. For web I am using Wordpress. For maps I am using Flexible map plugin. Maps are made in Google maps and shared. I exported KML with network ...
0
votes
1answer
67 views

How do I get a non-circle marker in a category map on CartoDB?

I have a CartoDB map which has two layers. I want both to display, and I want both to be category maps — there are 3 categories in each which display as three different colors. But I want to ...
0
votes
1answer
105 views

How can track marker clicks in Leaflet?

How can I view which markers are being clicked on by users in Leaflet?
0
votes
3answers
298 views

Mapbox Geocoding and Markers

I recently added Mapbox's Geocoder Control and it works wonderfully. I was wondering if anyone could tell me how I could have a marker appear at the location of the address that was searched for? ...
0
votes
0answers
597 views

How to draw small circles within a big circle(greater radius) on the basis of marker size on google maps?

I have more than 1000 markers at different location in my Map. I read Lat and Long from a xml file and render it in Google maps and create circle over them on the basis of city name within given ...
0
votes
0answers
78 views

Add custom marker from control with relative icon size to leaflet

Is it possible to add a marker with a control with a size relative to zoom ? example : I'd like to put a circle with a radius of 100m without drawing it, like a marker When I use L.icon I must set ...
0
votes
0answers
184 views

Enabling all layers by default using Leaflet?

I am using leaflet maps to compare heat layer and marker layer. I've an option to add multiple marker and heat layers dynamically. For me Heat layers are enabled by default as on when user adds new ...
0
votes
1answer
207 views

Openlayers selected feature unselecting on map zoom

I have createc a select control and a StyleMap that includes default marker and select marker. var mystyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { ...
0
votes
1answer
414 views

Simplest way to display a new marker on a map already displayed?

Could someone provide an example of the most dirt simple method to force a new marker to pop up based on a given lat/lng? I do not need js to write to my db, as that will be done server side; but I ...
0
votes
1answer
3k views

How to show Label of a new feature Layer in Openlayers…?

I have created a dynamic new feature layer along with a marker using openlayers with popups, but, I want to show labels for each new feature created... Below is the code I used... //To add new ...
0
votes
0answers
323 views

OpenLayers.Layer.Markers Does not works with Google maps

Hello I am currently Testing OpenLayers, but I have a problem with the markers, the markers that I add with OpenLayers does not work with google maps, all marks appear in the center of the map, not ...
0
votes
0answers
344 views

Can you insert a marker symbol at a specific scale?

I have a map that is consistently used at a 1:500 scale. I want to be able to add structures to the map to view and move them around to get the best fit. The end user is new to GIS and I am trying to ...
0
votes
1answer
728 views

Geomajas: How do I add context menu on a map marker

I'm evaluation Geomajas. Apparently, there's very little info on this framework across the Internet. I've managed to create a context menu for the map (the menu that appears when you right click on ...
-1
votes
1answer
1k views

How to add multiple markers on map and popup different information using OpenLayers? [closed]

Can anybody give me some examples of adding multiple markers on the map?