14

Is there a website out there that will let me markers (lat/lon) and bounding boxes (minimum / maximum lat/lon) and let me see it overlayed on top of Google Maps (or OSM, or Bing, etc)? I'm not really looking to create my own webpage for this... I'm hoping someone's implemented something like this for a general use case or a demo and it's online somewhere.

5 Answers 5

7

This will let you enter and display a bounding box on an OSM background: https://linestrings.com/bbox/#12,52,14,53 (add bbox as url hash to share map with box)

enter image description here

Alternatively, I also found bboxfinder quite nice: http://bboxfinder.com/#-16.636192,-69.433594,-1.581830,-51.503906

6

Google Maps Example:

You can run this example from you local drive.

enter image description here

You could simply add a form to enter the coords rather than the code.

for changing the extents set the new google.maps.Rectangle({ bounds:new google.maps.LatLngBounds(new google.maps.LatLng(37.2, -122.3), new google.maps.LatLng(37.6, -121.9)), to the values you want.

new google.maps.Rectangle({
    bounds:new google.maps.LatLngBounds(new google.maps.LatLng(37.2, -122.3), new google.maps.LatLng(37.6, -121.9)),
    map:map,
    fillOpacity: 0.2,
    strokeOpacity: 0.5,
    strokeWeight: 1
  });

http://gmaps-samples.googlecode.com/svn/trunk/fusiontables/rectangle_example.html

Open Street Map Example:

For Open Street Map you can just call the API to generate a simple rectangle by adding &box=yes to the call

enter image description here

http://www.openstreetmap.org/?minlon=-0.489&minlat=51.28&maxlon=0.236&maxlat=51.686&box=yes

3
  • osm doesnt seem to display a bbox anymore.
    – sal
    May 6, 2019 at 14:50
  • 1
    @sal try tools.geofabrik.de/calc/… now looks like osm changed their setup
    – Mapperz
    May 6, 2019 at 15:07
  • Regarding the google maps solution, the OP did not ask for code snippets, but for an existing service. I provide this here: gis.stackexchange.com/a/220247/37448
    – sal
    May 7, 2019 at 10:36
0

I am pretty sure this will meet your requirements:
http://mapper.acme.com/

2
  • 1
    This has markers, but I don't see a way to add a bounding box.
    – Pris
    Jul 13, 2012 at 19:47
  • Gotcha, the easiest way then would be just to take the bottom sample from Mapperz solution and change the bounding box.
    – dkroy
    Jul 13, 2012 at 19:51
-1

The following site seems to be what you're looking for:

http://boundingbox.klokantech.com/

enter image description here

2
  • 1
    No, it does not. This works only in the other way around - click on map and get bounding box.
    – JaakL
    Nov 23, 2016 at 13:19
  • this is the inverse of what was asked
    – sal
    May 6, 2019 at 14:47
-1

You can use http://geojson.io to upload and view markers and polygons in KML, csv, and json format, or you can draw them in the web interface then save to CSV, KML, shapefile, or json formats.

enter image description here

2
  • geojson.io can display a bbox if the bbox is provided as a polygon in geojson format, which is some overhead if someone just wants a quick bbox visualized.
    – sal
    May 8, 2019 at 8:50
  • If your bounding box is not in json, csv, KML, etc. format, you can draw a box, then edit the coordinates in the json text within the right-hand panel.
    – cmrRose
    May 8, 2019 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.