Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am trying to make custom Google maps. The idea is to make a map with 3 different markers for example: forest, river, lake.
I know how to add these custom markers. I do this with this tutorial, but I need to sort markers. For example when I press link "forest" in map will show only "forest" markers. Please help with this question, I try search in Google example, but found nothing that I need.
I simply keep a list / array of all markers for a similar scenario. Actually I have written a Javascript meta object for this purpose, so I can search for all markers of a particular type etc.
A very simple solution is to keep three lists, one for each type. So you can iterate over all lists and hide/display the markers as appropriate.
Edit 1:
See https://stackoverflow.com/a/6662514/356726 to get a first impression.
Here a tutorial using the concept in combination with jQuery.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Ok, before saying that this question is too "opinion based" and voting it down, hear me out. I have a geo visualization project in which I'm trying to plot air crash locations on a world map with a hover/mouse over function. I have a map ready. In fact I have two maps ready, a globe one and a flat one. I also have a CSV file with 5000 observations. They do not have longitudes and latitudes. How would I go about plotting the locations in the CSV onto the map?
I'm not looking for code, I'm asking the community for tutorials and ideas. If you can guide me to someone's blog or description or videos on how to do this, that will be awesome. Again, before down voting as "too broad" or "too opinion based" or as some other thing, please read the question again. If you still think the question isn't properly asked, throw in a comment and I'll edit it. Globe Map and Flat map with hover function
Here is a way to geocode your place names to latitudes and longitudes.
More importantly, do you really need D3.js for this? Is this just for practicing? If yes, then these video tutorials are a great place to start.
If not, and if you care about displaying information on hover, why not use a simple solution like CartoDB? It will serve your purpose pretty well. You can customize the colors, basemaps, tooltips, fonts and most other things you'd care about in a map.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I was looking at some leaflet maps and they are sooo cool and impressive! The only downside is that it appears that a lot of buildings are missing from the map. Are their third party plugins to overcome that or maybe a way that I can contribute to help fill in those buildings? Thanks for any suggestions in advance!
The buildings are part of the tile layers displayed using Leaflet, and not of Leaflet itself. Most of the time, Leaflet maps are using OpenStreetMap tiles, to which you can contribute too.
http://www.openstreetmap.org/
Also, you can have a look at the multiple tile layers available, maybe you'll find something that suits your needs:
http://leaflet-extras.github.io/leaflet-providers/preview/
http://homepage.ntlworld.com/keir.clarke/leaflet/leafletlayers.htm
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to display a map of multi-level building on a website. This website will only be displayed on a PC in the foyer of this building.
I need to allow people to do a room search and then draw directions to the room on the map. I also need people to zoom and drag the map too.
I have watched the Google "Map your business, inside and out" video and can see a lot of that could be useful, but there is nothing there to be able to show directions from one room to another.
So before I spend a lot of time writing my own code using jQuery, I was wondering if anyone else has done something similar, or if anyone can suggest some good starting points?
I found really nice plugin that meets my requirements.
https://github.com/ucdavis/wayfinding
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Let's say I wanted to integrate into my website a google map. I want it to be centered on my home (which I have the address for, not its exact latitude and longitude). I want a custom marker pointing to my house that says, "My house".
How do I do this?
I myself made a website where people can see different places on the map with historical detail. It is quite easy simply go to https://maps.google.com/ then press the MY PLACES tab on the top-left hand side. Sign in and then press the create map button or click the link (below it) to set your Home or Business location. Add custom or default markers and that's it. Finally save and press the chain button (at the start menu) and get the iframe or short url NO coding required...Easy to use! Hope that helped #Joe ^_^ Oh and #bfavaretto don't be like that...
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Using Google maps javascript API i want to draw arrow on top of the poly line so when the user is looking at the Map he would understand that some one traveled from here and to here.
The existing functionality
I want something like this
Please help.
Help will be appreciated.
You may calculate the angle between two points, here's a how-to.
Depending on the calculated angle you can place a marker at the start-point.
Here you find the description of the markers: http://sites.google.com/site/gmapicons/home/ (Direction indicators)
Edit:
See a demo: http://jsfiddle.net/doktormolle/9gJjj/
You'll find a function fx() there which expects a DirectionsRoute as argument and draws the markers.
Edit2:
Note that you may also use an IconSequence which may be a better approach, See: Google Map API Direction Triangle Icon Ambiguous