Geoapify's public fiddles
-
Routing API + MapLibre GL
Build a route and display results on MapLibre GL map
-
Leaflet: draw GeoJSON polygon
Get an isochrone and draw it with Leaflet
-
Display a map
Initialize a map in an HTML element with MapLibre GL JS. See the example: https://docs.mapbox.com//maplibre-gl-js-docs/example/simple-map/
-
Route Elevation Profile with Chart.js
This code sample shows you how to calculate a route with the Geoapify Routing API and visualize the elevation profile of that route with Chart.js.
-
Routing API + MapLibre GL
Build a route and display results on MapLibre GL map
-
Routing API + Leaflet
Display a route on a Leaflet map
-
epb6w3z8
No-Library (pure JS), HTML, CSS, JavaScript
-
Address Autocomplete Tutorial
Create an Address Input with suggestions by using Geoapify Address Autocomplete API
-
Batch Geocoding API, postcodes
Async call for Batch Geocoding API example
-
Batch Geocoding API, addresses in France
Async call for Batch Geocoding API example
-
Batch Geocoding API
Async call for Batch Geocoding API example
-
Reverse Geocoding: Latitude/Longitude to Address
Learn how to call Reverse Geocoding API to get an address by Latitude/Longitude coordinates, for example when a user clicks on the map.
-
Geocoding: Address to Latitude/Longitude
Learn how to call Geocoding API to search an address. Then, show the found address on the map.
-
Bus routes optimization
How to use Geoapify Route Planner API to optimize school and shuttle buses routes and carpooling
-
Route and schedules optimization
How to use Geoapify Route Planner API to optimize route and schedules of a service company workers
-
Delivery optimization task
How to use Geoapify Route Planner API to solve a delivery route optimization task
-
GeoJSON: Display points as layer
Draw GeoJSON.Points as layer with MpLibre GL
-
Leaflet: create and draw GeoJSON polygon as a hole
Get an isochrone and draw it as a hole with Leaflet
-
Leaflet: draw GeoJSON polygon
Get an isochrone and draw it with Leaflet
-
MapTiles+MapBox GL
Display a map with Mapbox GL