How to add local roadmap to Google map - google-maps

I live in rural areas, my town doesn't had roads in google maps. How can I add my own or create it. Where to start?

A good place to start is Google Map Maker, which allows you to edit roads and other features in Google Maps. From your user profile, it looks likes you are in Indonesia, and it looks like Map Maker is not available there yet according to this page. So Google Map Maker is the answer to your general question, but unfortunately may not help you specifically.
Your other option is to create your own tiles, but that will be more cumbersome and require both a way to create the tiles and a way to serve the tiles.

Related

How can I make a heatmap like the price heatmap of Housing.com

I have been trying for some weeks to come up with a price map. My inspiration is the heatmap found on the website of Housing.com . The link to the map is:
https://housing.com/dsl/heatmaps/mumbai/buy
I have tried:
Google maps Javascript API 3
heatmap,js library
and many other websites.
The resulting map that I am getting is visually less appealing.
Have they defined boundaries for very small regions and then introduced the gradient(which, again I am unaware how to implement.)
Any thoughts on how it might have been implemented are welcomed.
They don't use Google Maps Heatmaps Layer in the application, or any other library for creating heatmaps. You can see that between the requests the webpage makes are images like this, this and also more for bigger zoom levels. They just render these images over custom styled google maps as tiles.
More on how to render custom tiles over google maps, check this part of docs. For more information how to style the map below the heatmap to look like in the example, check this parts of docs.
Creating tiles images to render over your google maps can be troublesome, there are some tools, like this one which should be able to help you, but is paid. I don't know of any free solutions, you can create it manually although it might take some time.
Hope this helps you to better understand the implementation techniques behind the referenced map.

Can I Use Google Maps Developer API to Get and/or Draw Regional Boundaries?

If you look at the Google maps website, you can see that it accurately outlines a region (neigbourhood), giving you a pink shape that curves around the road. This means that Google has this data internally. If you use the Google Maps Developer API, however, it seems that you can only get a four-point boundaries object (NW, NE, SE, SW). If you then use this object to draw to, you basically get a rectangle.
Has anyone had this problem before and if so, how have you been able to get the detailed region info drawn on the map? Note that I'm trying to automate this as much as possible and I'm working in Saudi Arabia, where I don't think it's easy to get a third-party database of regional data.
You can download free shapefiles from many countries for example from here: http://www.diva-gis.org/gdata.

How do I obtain the coordinates along GMaps directions?

I want to create an online map for a hiking trail, and I have been using my smartphone to collect coordinates from it.
I have many questions regarding what's good practice when it comes to making such tracks, but for starters: it would look much neater if I could edit the readings so that they are right on top any roads in Google Maps. How can I achieve this?
EDIT: I want to find the coordinates that will make a track along a road look exactly as if I'm using snapping/directions even when I'm not.
I've tried tools such as QLandkarte GT and Viking, and with the latter I was able to manually remove excess coordinates and move the remaining ones so that they're exactly on top of roads (inside Viking, using OpenStreetMap). However when I load the edited .kml-file in Google Maps, the roads seem to be in slightly different places and the result is hardly better than before editing.
I tried using the hack that exports GMaps directions as .gpx, thinking I could insert Google's own coordinates along the roads. But the exported file only had coordinates at the turning points with straight lines between these.
QLandkarte GT supposedly has a snap-to-road feature (see answer in link), but I haven't found it and I also don't know how to obtain a vector map of the area.
Then there's Google Earth which people seem to use for this, but again I can't find any track editing features (in the free version).
In short:
How do I edit my existing tracks so that they match roads in GMaps...
OR
How can I obtain new tracks representing roads in GMaps...
...so that the resulting track is as smooth as Google's own directions or other professional GPS-data, when displayed in GMaps?
It seems like it's possible to get these coordinates from Google Maps after all, exporting the directions polyline. I'm not sure how, it seems to involve adding the parameter output=dragdir to the link.
Anyway there's a tool called GPS Visualizer that can create a .kml-file with the wanted coordinates.
Edit: Will accept my own answer as long as it's the only one, but I would still like to know more.

Creating custom overlays for Google Maps

I have a set of addresses, lets say restaurants, which I would like to plot on Google Maps and then make it possible for the user to rate them. I would also like to provide a search feature where the user can filter the restaurants by e.g. rating, food choice etc.
I have created the database architecture to store the restaurants and ratings, but how should I go around creating the overlay?
Are there already a feature where I can pinpoint an address and then supply my own html-code/iframe or alike, or do I need to create the overlay from the bottom myself?
I have looked at the overlay API, but I can't seem to figure out what is the best way to go around doing it?
I found out that the InfoBox would work.

Zoomable political world map

I'm looking to add an map to my application, which would have a world map with different coloured countries, States (in the US) and Provinces (in Canada). The user should be able zoom in to see details, as the scale for seeing the whole world isn't suitable for seeing details in Europe say. The colours would need to be programmed from my application, so a simple image map isn't appropriate.
Obviously the first place to look was Google, but Google Maps doesn't seem to be able to colour code countries. Google Charts can, but produces a single image, which isn't zoomable.
Am I wrong about google, or is there another way that I can use to produce a suitable map? It's a ruby on rails app, so anything which is ruby specific is fine, but ideally not any other language though if it's the only way, then it's the only way.
I developed jVectorMap for such visualizations.
Django has geo-django; If you want to do feature rich GIS web apps with Rails, you’re gonna have to assemble the pieces yourself.
Google maps is a good client, you can use overlays. You need the GIS data to generate the overlay polygons.