To load the geocoder component add the highlighted lines in the header of the index.html file. To facilitate the use of the Geocoding API we have developed the geocoder component that you can easily integrate into your applications. For this, we are going to use the Geocoding API. Let’s add a control that allows us to search for locations. Open the application in a browser and you should see a map like the following image There are numerous ways to send your requests to the API whether you are a fan of API clients or go with the good old curl, don’t forget to set the Authorization header in the form of Token We have already mentioned that you can upload data directly to the MapTiler Cloud from MapTiler Desktop another way to upload MBTiles is through the MapTiler Cloud Admin API. In the GDAL example, we have to define the zoom levels and indicate the transformations of the alphanumeric data types so that they are valid data types in MBTiles. Maptiler -o guixols.mbtiles A.ES.SDGC.BU.Īs we can see, MapTiler Engine is in charge of calculating the optimal zoom levels for our data and performing the corresponding transformation of the data types. To transform the gml file to mbtiles using the MapTiler Engine you must execute the following command: If you want to know more about MapTiler Engine, check out the article MapTiler Engine Usage. It creates automated workflows with the full power of MapTiler Desktop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |