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

learn more… | top users | synonyms

1
vote
0answers
410 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 ...
1
vote
0answers
71 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 ...
1
vote
0answers
55 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 ...
1
vote
2answers
248 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 ...
1
vote
0answers
379 views

Leaflet markers do not open popup on click (with markerclusterer)

I just started using Leaflet and Marker Clusterer to organize the markers. Problem #1: When an unclustered marker is clicked, no popup appears. Problem #2: When a cluster is clicked several times, ...
1
vote
0answers
140 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
3k 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
1k 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 ...
0
votes
1answer
4k 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
2answers
19 views

How to change Leaflet marker color on mouseover?

I'm having a hard time figuring out why the Leaflet method setstyle will change the color of a polygon but not the color of my markers. Polygon works fine: But the markers won't change colors: ...
0
votes
1answer
294 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
815 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
98 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
69 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
330 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
787 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
650 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
0answers
25 views

Smooth replay of gps points on google map

When first the google map is loaded we load data using php codes in the backend and draw a line connecting between each lat long. There after we check if the lat long point have some ...
0
votes
1answer
28 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
0answers
11 views

Is the geoxml3 javascript API compatible with the mapstraction API?

I am getting ready to revamp a google maps application and I was considering utilizing mapstraction. I am currently using all google maps js, with a kml layer overlay, but obviously by using the ...
0
votes
0answers
26 views

Getting placemarks on map and setting bounds based on all placemarks

I'm trying to do what most folks do in the Google Maps API, and add a bunch of markers to a WWPanel and then adjust the map bounds to fit all Placemarks in the WWPanel view. How can this be done? This ...
0
votes
1answer
93 views

How to create styled markers with custom marker tooltip

How to create custom markers and when mouseover on marker i need a tooltip can any one suggest me how to do these type of markers...i need markers like below image Thanks in advance
0
votes
0answers
32 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
82 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
95 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
599 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 ...
0
votes
0answers
155 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
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 ...
0
votes
1answer
2k 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, ...
0
votes
0answers
216 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
158 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
422 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
198 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
votes
1answer
411 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?