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

learn more… | top users | synonyms

0
votes
1answer
161 views

How can I create a button to add a POI layer?

I am making a map of a city with openlayers. I have the shapefile data of the POI (hospital,bank,school etc.) I want to add the layers with buttons not in layerswitcher. Like whereis.com's quick ...
0
votes
1answer
50 views

Leaflet - Load markers in the current map - dynamically

I am looking for a marker plugin for leaflet that allows loading of markers dynamically, according to the current view. E.g. I want to add OSM POIs to a world-wide map. Obviously loading all at once ...
0
votes
1answer
102 views

Change anchor of leaflet icon

I'm currently using a div icon to show a small graph as a marker on a leaflet map. The graphs change dynamically based on the day of week using data from a database, which changes the height of the ...
0
votes
1answer
158 views

Marker-file for torque CartoDB

I am trying to plot some color code (only 3 colors by the moment) cars in my map instead the regular color code points. I am using torque cat to do it, but all the time the car is in black!, I need ...
0
votes
1answer
162 views

Style Manager in ArcMap

On my desktop PC, I am using Ministry of Transportation Ontario road shields to label major highways on my maps. I often need to work with a laptop when I'm visiting a client at their location, so I ...
0
votes
1answer
171 views

How to avoid Displacement of Marker Symbols with X-Offset

I'm trying to mimick a line symbol style that is comprised of the line and 2 alternating markers. I use an interval placement of 10 units for the 'blocks' (custom svg) and 5 for points, thus every ...
0
votes
1answer
1k 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
869 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
773 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
0answers
105 views

Google Maps API : Picklist on markers

I need to change the markers colors by showing a picklist onclick. For example: A red Marker, with the inner info 'Red', when clicked shows a picklist with others colors (blue, black,... ), when ...
0
votes
1answer
130 views

Zoom to polygon bounds on click. Leaflet ´, GeoJSON

I have a leaflet map with a lot of polygons (borders). I will like to zoom to the bounds on the polygon, when the user click. Until now its only possible for me to zoom to the the bounds of all the ...
0
votes
1answer
64 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
19 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
154 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
49 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
213 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
33 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
47 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
66 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
95 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
153 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
465 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
785 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
312 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
260 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
494 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
338 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
1answer
804 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
2k 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?