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

learn more… | top users | synonyms

1
vote
0answers
22 views

Google maps marker is not getting displayed

I am trying to learn google map API. I see a map but I am unable to get a marker. Here is my code Activity public class HomeActivity extends Activity { @Override protected void ...
0
votes
1answer
41 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 ...
1
vote
2answers
212 views

Dynamically Reload OpenLayers Marker Layer based on user input

Not really sure how to ask this, so I'll outline the scenario. We have a database with locations in it. There are various types of cars at each location and each car has a problem of varying ...
0
votes
1answer
397 views

Drawing aerial routes for flights on Google Maps API between two markers?

I have been drawing route till now using DirectionService. But now my current requirement is to draw a route on air.I did some research and found this link which helps us to draw curved polylines ...
2
votes
1answer
397 views

How to keep bound popups from opening on [click]?

I am working on a map application which creates and binds popups on markers and polyline objects. The popups are created and bound lazily, i.e. ad-hoc when a user clicks on a specific object. The ...
1
vote
0answers
28 views

Refresh leaflet marker data in place ? (on insert to sql db)

I have a form that sends data via ajax to be geocoded and inserted into a mysql db. Once that data is there, can I force the marker layer to refresh so that it displays the new data? The SQL API ...
0
votes
0answers
29 views

Why my annotation markers are printed smaller?

I annotated one of my maps, for every annotation I set an svg marker whose dimension is either 6 or 8 mm. Everything looks fine in the main window. The problem arises when I try to print my map using ...
0
votes
0answers
35 views

Updating Mapbox map to newest API/getting markers to load

I'm new to the Mapbox API (and to Javascript in general), so please bear with me. I am trying to build an interactive map that automatically cycles through map markers as the user scrolls through ...
0
votes
1answer
40 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 ...
4
votes
2answers
72 views

How to tell QGIS where to start marker line interval?

I want to tell QGIS where to start with a marker, like: use 3 markers, start at positions 0, 2, 4, and apply an interval of 12 to each marker. However, after searching for hours, I haven't found a ...
3
votes
2answers
73 views

GoogleMaps URL string to display unique marker

This is a topic I thought as easy as pie to solve with just a Google search and which is in fact quite complicated. When I use the following URL string to open a GoogleMaps window on a specific ...
1
vote
1answer
93 views

Create tiles given images and locations; convert markers to tiles

What I need I need to convert a list of markers to a tile layer I've been googleing without success how to do this. Anyone has faced this problem and has a nice easy solution? Why I need it I've ...
0
votes
1answer
57 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 ...
3
votes
1answer
74 views

How to create Race Route with arrow directions and distance markers using ArcGIS for Desktop?

Anyone have any suggestions regarding how I would approach creating a race route with arrow directions and distance markers in ArcGIS? I could do it manually but I thought I recalled seeing something ...
2
votes
1answer
64 views

Handle a great amount of Markers with OpenLayers

My general Problem is to maintain a lot of markers. For the beginning I want to display all Bus Stops of Berlin, Germany and surroundings as Markers. I already got that I have to use a strategy like ...
1
vote
0answers
81 views

Extending “How to add complex Emergency Symbology (TrueType fonts) to QGIS?”

I have used the technique as outlined in How to add complex Emergency Symbology (TrueType fonts) to QGIS? but have run into some difficulty. I have used this technique for a map of water assets that ...
6
votes
2answers
2k views

Leaflet / Google Map baselayer / markers not visible

New to Leaflet, currently trying to migrate a project from native Google Maps to Leaflet; having been drawn to Leaflet by the layer management and options of using better 'roadmap' style basemaps. ...
2
votes
1answer
100 views

How to synchronize the marker's rotation field with the angular distortion in the map projection

I'm Using QGIS 1.8.0 to plot a global dataset showing the positions of aircraft in flight. The data I have are .csv files with three columns: Latitude, Longitude, and angle of travel. I assign ...
0
votes
1answer
1k views

Updating position for a list of markers

I am working with Google Maps. Specifically, I am working with http://hpneo.github.io/gmaps for a gps tracker simulation, here I need to update the position on each point. At the gmaps script, ...
16
votes
4answers
11k views

How to define layer order in Openlayers?

I have a marker layer, two vector layers and two raster layers. The marker layer gets covered by the two raster layers. Is there a way to move the marker layer always on top? Edited: The order of ...
0
votes
0answers
131 views

KmlMouseEvent not working on Google Maps API

I have this application where in I have loaded a kml file over the google map layer.I have these point layer markers from the KML. Now how do i obtain lat/long on the click of markers?. Please guide. ...
0
votes
1answer
457 views

Go to the URL when clicked on Leaflet marker

I want to implement marker click event so when user click on marker it goes to url. Url is written inside an array (a[3]). However, this is my code which doesn't work, it always goes to the link of ...
4
votes
2answers
1k views

Leaflet drop markers animation

Is it possible to do drop markers on the map like in google maps (https://google-developers.appspot.com/maps/documentation/javascript/examples/marker-animations-iteration) in leaflet
-1
votes
1answer
126 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?
1
vote
0answers
83 views

Prevent OpenLayers ClickEvent from firing on Popup closeButton

My Code to add popups as selectControl to a Layer. Works fine! map.addLayer(window.markerLayer); // SelectControl für Marker --> Popup window.selectControl = new ...
1
vote
1answer
139 views

Openlayers SelectControl add multiple Layers

Heres my code to add an SelectControl with Popup for an existing layer add startup map.addLayer(window.markerLayer); window.markerLayer.events.on({ }); // Popup für Marker window.selectControl ...
0
votes
1answer
215 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? ...
1
vote
1answer
167 views

Buffer along a route

I'm using Googlemaps service to plot some marker on the map. All markers are stored in a postgresql table, named "locations" and that has a location column (data type to geometry). When the user ...
0
votes
2answers
599 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
2k views

How can I change the style of marker in leaflet (from GeoJSON)?

I'm serving GeoJSON to leaflet and by default it get a blue icon marker. I'm trying to change the style so I'll be able to use the feature properties as part of the style , but no matter what I do , ...
0
votes
1answer
634 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 ...
1
vote
0answers
306 views

Leaflet's worldCopyJump breaks map, zooming fixes it up (updated)

I had my map working with worldCopyJump set to true, but then it stopped working. I'm not sure exactly what broke it (the original form of this question said there was a connection to a plugin, but ...
0
votes
0answers
121 views

Google map v3 and markers

I have a map google v3. What code to write, to add markers with pop-up windows, the coordinates of which are stored in the database mssql server 2008 r2? Markers a lot about 1500. Can cycle to read ...
1
vote
1answer
383 views

Markers not displayed in xhtml in OpenLayers

I just started working with OpenLayers because I want to include a map on my JSF page (.xhtml files). I want to use the same feature that is demonstrated in this example: ...
1
vote
0answers
67 views

Changing kml marker in esri javascript api

I can load my kml file but I want to be able to define a marker for my points. I can't find anywhere in the api which allows me to define the marker. How can you define your own marker using a kml ...
0
votes
1answer
1k 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 ...
4
votes
1answer
2k views

Change marker icon on click using leaflet

I have a map with many (>100) markers on it. I would like to make it so that clicking on these changes the icon to a highlighted version. I've created two custom icons, one regular, and one ...
2
votes
1answer
631 views

OpenLayers: make polygons not zoom

I have a simple OpenStreetMap for which I want to display a series of circles. Each circle represents readership for that area, so its radius will change based on the numbers. However, when I create ...
2
votes
2answers
403 views

How to create a printable map of labelled markers with OSM background?

I want to create an image of an OpenStreetMap map suitable for printing on A4 at 300dpi. The map needs to have half a dozen markers/points, and each should be labeled with the name of the point. I ...
1
vote
0answers
48 views

how to use ArcGIS cloud hosted map with custom data from mysql

I have map hosted on ArcGIS.com which I can use and embed in my webpage. I have few tables with latitude-longitude in mysql. is there anyway I can add it as marker overlay layer on map taken from ...
0
votes
0answers
190 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
141 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
89 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 ...
1
vote
1answer
366 views

Creating markers(vectors) in openlayers

I'm new to OpenLayers,currently in existing project they have created markers in openlayers map by using following code, // vector layer creation vLayer = new OpenLayers.Layer.Vector(layerName, { ...
1
vote
1answer
815 views

Openlayers Vector Feature Popup

im trying to create a popup in Openlayers that would open when someone clicks a marker. And the marker is setup like this: new OpenLayers.Feature.Vector() and not with the ordinary marker layer. The ...
12
votes
3answers
410 views

How can I represent distance using the dashes or markers of a vector line?

I am a very basic user and dont know the lingo to get to the gist of my question so some background might help. Ive volunteered to create a pre-incident planning system for my rural fire department. ...
1
vote
1answer
254 views

Google maps api, several moving markers using a csv file containing the coordinates

I collected 5 sets of coordinates of moving vehicles and I want to play the scene using googlemaps API showing those 5 vehicles moving. The sets are saved in a postgresql table. is it possible ? if ...
4
votes
1answer
93 views

How to reverse the drawing order of markers?

I saw this example which demonstrates how ordering can be controlled with markers added using styling options (graphicZIndex) applied to a vector layer. Due to the limitations in the combination of ...
2
votes
0answers
320 views

how to show information window for the marker cluster

This is my markercluster code : i need information window for the markercluster icon as well as marker icon, i have another cluster.js file, can some one please tell me how can i show the information ...
2
votes
2answers
860 views

Drop Markers and MarkerCluster together from database

I've been working on my map which gets it's details from a MySQL database. I use MarkerCluster Plus to cluster my markers but would like to add the drop animation to it. I found this thread, but ...