Tool: OpenStreetMap embed #26
This issue is for discussion of the reference tool "OpenStreetMap embeds".
I don't think they have any other direct API for web developers, although their data and generated tiles are of course integrated in many other APIs. But I'm not an expert, and their help pages are more focused on contributing to the project than on extracting data from it!
The text was updated successfully, but these errors were encountered:
Addendum: they do have a REST API for accessing individual data files, which is relevant for the discussion on data formats, but not for map widgets or client side API.
Edit: The link I originally posted is the reference for downloading the OSM data files (or uploading edits) on their main server. The reference for accessing individual image tiles might be more relevant for web map usage.
Note that URL templates aren't URLs, and need semantic assistance from the library.
4.3.2 Display a map using tile data from an author-specified web map service
Not supported. You can use their data to render your own map tiles if desired, but not as a part of their embeds.
4.3.3 Display map tiles defined in various common coordinate systems
4.3.4 Show pinpoint locations or custom markers on the map
It is possible to show a single marker on a embed map, but to show multiple markers, you need to 'deploy your own slippy map', which is their way of saying use their map tiles with an alternate library.
4.3.5 Draw polygons or polylines as stylable, interactive vector graphics (separate from the image tiles)
Not possible with embedded maps.
4.3.6 Support hyperlinks from markers or vector features
Not possible with embedded maps.
4.3.8 Zoom the map independently from the rest of the page
Supported, the focus is flashing a bit oddly but it is navigable.
4.3.9 Pan the map display
Supported with no visible keyboard focus as mentioned
4.3.10 Load additional map tiles when they pan into view
Full support, experience is seamless.
4.3.11 Wrap/duplicate data tiles when panning around the globe
4.3.12 Maintain reasonable scale of labels and lines when zooming
Same question as Google Maps, while there is scaling applied, the labels can be very small (around 8-9px). What level of support do you think this constitutes as, @AmeliaBR?
4.3.13 Dynamically load different resolution map tile on zoom
4.3.14 Hide or show (and maybe dynamically load) vector features and labels on zoom
Full support, features that are too small to be perceived are hidden as you zoom out and vice versa.
4.3.15 Display map data attribution and links
Supported, attributed to OpenStreetMap contributers
4.3.16 Apply custom styling to map markers and vector features
Not supported, need to deploy own slippy map using a third party library.
4.3.17 Apply custom styling to map controls
4.3.18 Toggle whether default controls are displayed
4.3.19 Select map view from latitude and longitude point
Fully supported, can search by lat long and export that map.
4.3.20 Select map view from street address or place name
4.3.21 Reproject map tile data into a new projection or globe view
4.3.22 Save the location or export to other application
Clicking through to the larger map will allow you to export the map as a link, HTML, or just the point as a Geo URI. I think the GEO URI component constitutes as full support.
If the labels always stay (approximately) the same size, that counts as support for this feature. But it's definitely worth noting somewhere that the default font size is often very small & may not reflect the user's accessibility preferences.