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
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 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 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.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
This is a follow up of this question: Puzzle - How to 'colorify' part of an image from PHP?
Basically I want to create an interactive map that will colorify certain areas based on certain conditions. I have been able to find a tool called Raphael. However I am completely lost on how I can generate path matrices with it. An example of a path for Victoria in the Australia map demo looks like:
aus.vic = R.path("M252.869,203.121l-0.873-0.643l-1.721-0.121l-8.182-4.065l0.178-1.349l-0.354-1.082l-0.722-1.028l-0.566-1.235l0.204-1.168l-1.433-0.73l-0.899,0.326l-0.711,0.295l-0.74,0.111l-1.083,0.354l-1.451,0.408l-1.961-0.461l-1.037-0.603l-0.896,0.327l-0.658,0.666l-1.164-0.204l-1.223-0.571l-0.925,0.139l-1.434-0.729l-1.85,0.28l-0.823-0.444l-0.741,0.11l-0.471,0.638l0.223,1.481l-1.295,0.195l-1.619-0.701l-1.277-0.943l-0.379-1.268l-1.973-1.783l-1.619-0.701l-1.138-0.018l-1.444-2.054l-0.604-2.748l-1.008-0.413l-1.721-0.119l-0.98-0.232l-1.055,0.539l-0.045,0.953l-1.092-0.971l-0.492-2.009l-1.73-1.44l-2.12-0.248l-1.748-0.305l-1.024,0.723l-1.834-0.86l-1.109,0.168l-0.08,0.038v28.152l0.436,0.031l2.342,1.916v1.065l0.64-0.214l0.638,0.427l1.278-1.491l2.556,1.278l1.703-0.427l7.881,4.261l3.193-3.195l2.557-1.704h1.49l0.428-1.275l-1.492,0.425l-0.853-0.64h1.063l2.771-2.129l1.277,2.555l-1.277,1.703l-1.917-0.424l1.917,1.702l1.277-0.852l0.64,0.213l0.211-1.703h1.492l0.426,1.276l-0.852,0.214l-0.215,1.276l1.49,1.065l1.491-0.213l0.214,0.426l-0.639-0.213l1.064,1.916l0.851-0.64l0.853,0.427l-0.213-0.64l0.854,1.705l1.064,1.063l0.426-2.769l-1.277,0.852l-0.426-1.703h2.13l2.526-0.843l4.074-4.269l2.768-1.703l-3.406,1.489l1.917-1.278l-0.071-0.07l-0.568-0.567l1.492,0.427l1.703-0.64l-0.213,0.427l9.371-0.853l1.915-1.703l-0.638-0.64H252.869z")
Does anyone know any tool that can do this or even something similar?
Thanks!
With a bit of research, I found this handy little tutorial:
http://playground.mobily.pl/tutorials/building-an-interactive-map-with-raphael.html
They were able to find an SVG of the map they wanted on wikipedia and just pull the path info from that. If you are unable to find an SVG of the map you're looking to colorize, use an application that will create an SVG and just make it yourself - Adobe Illustrator, Inkscape, so on.
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