Hot answers tagged


it is unlikely that you will be able to batch download all of Google Data. However, you can tap into Google Data using the Google Places API. If you are interested in OpenStreetMap use Overpass Turbo zoom to your area of interest with the Mapview port as the area you will download using the Bounding Box code: node ({{bbox}}); out; Of course this ...


I would start here: library(raster) g <- getData('GADM', country='BRA', level=1) plot(g) You can extract the coordinates from g, but that is probably putting the horse behind the cart if you want to make a map. xy <- geom(g)


Based on all the info provided, I have build a function that gives the best z applied to a map when you want to have an horizontal line that represent N% of the displayed Map. The displayed Map is caracterised by it own pixel width. function calculateZoom(WidthPixel,Ratio,Lat,Length){ // from a segment Length (km), // with size ratio of the of the ...


For example: library(ggplot2) ggplot(dfexp, aes(lon, lat)) + borders() + xlim(c(144.325, 144.40)) + ylim(c(-41.575, -41.5)) + stat_density_2d(aes(fill = ..level..), geom="polygon") + geom_point(position="jitter", alpha=.2, colour="white") Or using ggmap (as requested): library(ggplot2) library(ggmap) map <- ...


A Bing Maps partner already exposes Bing Maps as a WMS service:


There is the Route360 API that also works with Google Maps. It offers quiet a few functionalities. Including different modes of transportation or the intersection of polygons As well you can add a few hundred points at once and see the result: It works for most countries in Europe and North America


Now I see that you specified "My Maps" which means you won't be editing your answer to include any code (since you don't have that ability with "My Maps"). Everything I've found from Google indicates that you aren't going to be able to do this. Evidence of inability to edit zoom level and center However, I did find this link showing a method that would work ...


There should be no technical reason against that: you can use raw OSM data and calculate a route between start and destination (defined by what???) and produce a routing graph line for that as an overlay. Then choose whatever tiles you want and you are allowed to, and use those tiles as underlay. But how will you handle situations where OSM data is ...


Ideally, you should be using GeoJSON rather than your own arbitrary JSON. Then, take your Polygon geometries and create Multipolygon geometries—perhaps using the union capability of turf.js. This way, simple polygons that are in fact disconnected parts of the same multipolygon are linked. You can also do this upfront, but it's not clear how you are getting ...

Only top voted, non community-wiki answers of a minimum length are eligible