Geoapify's public fiddles
-
Form to collect shipping and payment addresses
Here's a sample code that shows how to create an address collection form to get postcode, city, street, house number from a customer.
-
Shipping / Payment Address and Location Information
Here is a code sample that shows how to collect address information and its location. This code sample uses @geoapify/geocoder-autocomplete and Reverse Geocoding API
-
[Internal] Exporting places
This code sample shows how to get places of a chosen category for a city using Geoapify Location services
-
Search OSM Places for cities using the Geoapify Places API.
This code sample shows how to get places of a chosen category for a city using Geoapify Location services
-
124Loe7u
No-Library (pure JS), HTML, CSS, JavaScript
-
How to add a Leaflet map with address autocomplete field
The code sample show how to add a map with address search to a website, including CMS websites like Wordpress
-
Places API results on a MapLibre GL map
Get places with API and show them on a MapLibre GL map as a GeoJSON layer
-
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.