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

learn more… | top users | synonyms

1
vote
0answers
416 views

How to add text for markers not icon

I have a Open Layers map project where I currently add dynamic markers based on a query but I really want to show some text instead of the marker icon. Is there a way I can either render some text to ...
1
vote
1answer
6k views

Google Maps MarkerClusterer - Remove all clusters

So, I have a PostGreSQL DB with 317 datapoints - all spatially enabled through PostGIS. I have queried this using PHP as GeoJSON and overlaid it on Google Maps (using a converting routine). I have ...
0
votes
1answer
48 views

Mapquest API & OpenLayers markers

Not unlike others, I've found myself forced to edit some code due to MapQuest changing how they offer the openstreetmap data, and using an API Key. Getting the key, aswell as getting up a simple ...
0
votes
1answer
2k views

Leaflet markerClusterGroup 'undefined is not a function'

I have to create a map with more than 5000 points from a geojson. So I would like to use markercluster plugin with Leaflet. I wrote the following code with help from the documentation and from other ...
0
votes
1answer
5k views

How to add event listener to many markers on the map?

How can I add an event listener to many markers on the map? I know how to add an event listener to a single marker say: var marker = L.marker(...); marker.on('dragend',function(){...}); So, how can ...
0
votes
1answer
2k views

Not showing multiple markers on OpenLayers

I want to show multiple markers on my Google map with OpenLayers. Below is my code : for (var pointcount = 0; pointcount < jsonObj.length; pointcount++) { if (jsonObj[pointcount].Long != null &...
0
votes
1answer
166 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
87 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
156 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
178 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
177 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
176 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
889 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
809 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
11 views

OpenLayers-2 marker popup appears in the wrong place

After user types address in search box, the address marker appears in the wrong place. Here's a screenshot showing the popup positioned below the location instead of above it: Code: Could anyone ...
0
votes
0answers
48 views

GMap.Net: Does the WPF version have overlays?

I just downloaded GMap.Net and I'm just starting to explore the API. I know it has GMap.NET.WindowsPresentation assembly, which is designed to be used for WPF projects. It also has GMap.NET....
0
votes
0answers
235 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
269 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
108 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 = markers....
0
votes
0answers
25 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
208 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 ng-app="demoapp">...
0
votes
0answers
75 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
347 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
41 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
52 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
79 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
112 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
3answers
583 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
870 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
360 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
275 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
532 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
345 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
842 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?
-3
votes
0answers
12 views

How can fix this php google geocoder to set markers

How can fix this php google geocoder to set markers? # <? if(@$_GET['cmd'] == 'latlng') { $result = ''; $search = $_GET["lat"].','.$_GET["lng"]; $search = ...