Support@MapTilesApi / MapTilesApi

Hard-Working Hacker @

Vulpecula

토론

3
All
Questions
Answers
최신
A
1
Hi, unfortunately RapidAPI does not support the feature of locking an API key to a domain (referrer). And even that would not be 100% save as anyone could spoof a referrer. Nevertheless we never saw a stolen or misused API key so far. RapidAPI does support key rotation in case you would see any unusual requests (see https://docs.rapidapi.com/docs/keys ). We've sent you some further options for more API key security by mail (should arrive in a few minutes).
화 10:47 29/3/22
A
1
Hi Josh, have you seen our tutorial here: https://rapidapi.com/MapTilesApi/api/retina-tiles/tutorials/using-retina-tiles-with-leaflet-to-display-a-map-on-a-website ? As a TileLayer URL in Leaflet you would need: `https://retina-tiles.p.rapidapi.com/local/osm{r}/v1/{z}/{x}/{y}.png?rapidapi-key=YOUR-RAPIDAPI-KEY` if you want Leaflet to choose between standard and retina tiles (Leaflet will then fill the `{r}`var with either `@2x`to retrieve retina tiles for high resolution displays or `` for displays without high resolution). Otherwise you can use: `https://retina-tiles.p.rapidapi.com/local/osm@2x/v1/{z}/{x}/{y}.png?rapidapi-key=YOUR-RAPIDAPI-KEY` to always get retina tiles or `https://retina-tiles.p.rapidapi.com/local/osm/v1/{z}/{x}/{y}.png?rapidapi-key=YOUR-RAPIDAPI-KEY` to always get standard tiles. In each case you'll just have to replace `YOUR-RAPIDAPI-KEY` with your X-RapidAPI-Key and then you are good to go.
화 7:43 15/3/22
A
1
Hi Nagarjuna1207, what you need is geocoding, but you asked at a map display api. The Forward & Reverse Geocoding API here at RapidAPI could help you out: https://rapidapi.com/GeocodeSupport/api/forward-reverse-geocoding/ There you have to use the reverse geocoding endpoint with your lat and long and use the zoom parameter with a value of 3 to get the country name.
월 9:46 14/6/21