Questions tagged [mapbox-static-maps]

12 questions
1
vote
1 answer

Mapbox API requests for Static Map and Polyline

I'm rewording a question I asked earlier in hopes that it will get me some feedback. I need to generate a static map from Mapbox that shows two end points and the polyline route between them. The method outlined below is what I'm using. It…
Matthew
  • 139
  • 1
  • 10
1
vote
1 answer

Compensate resolution change with size of features in MapBox static API

I'm using MapBox's static API in a project. I have managed to load maps with the same width and height in terms of latitude and longitude regardless of the resolution. This is so that users see the same area regardless of their screen resolution,…
Kajuna
  • 449
  • 5
  • 20
1
vote
1 answer

Set language in Mapbox Static Image

I am using the Mapbox Static Image API to show users an image of a slice of a map relating to the page they are viewing. Our users are from many countries and expect properly localized country, city names etc. Question Is it possible to set the…
Wertisdk
  • 168
  • 2
  • 12
0
votes
0 answers

How to not overlap pins on a static map view - line markers available?

We are trying to put together a static map for a PDF report that shows various properties / some within a mile, some outside. The zoom level is automated so for the below it's automating to 13... but the pins are overlapping. Does anyone know if…
0
votes
1 answer

How can we display the parcel outlines or boundaries on the OpenStreetMap

I want to display parcel outlines or boundaries on the OpenStreetMap. But when I use OpenStreetMap dynamic map for address "10543 JERSEY RD, MILTON, FL,32583" (latitude: 30.620948, Longitude: -86.881137). It does not display any parcel outlines or…
0
votes
1 answer

How to embed an Exit Button inside a Mapbox-GL Static Map Component with a Deck-GL Layer in it

I have the following code for mapping, object && `Paths Covered`} >
0
votes
4 answers

Getting static image with marker in mapbox in flutter

I want to get static image with calling an API from mapbox, but it returns me this message: {"message":"Failed parsing geojson"} // with status code:422 I used mapbox_search package to create the API. this is My code: MapBoxStaticImage staticImage…
Jafar ashrafi
  • 511
  • 6
  • 18
0
votes
1 answer

Marker overlays must be png, jpg, or webp while using MapboxStatic api

This is how I create markers and add it to array of overlays: let text = "1" let url = URL(string: "http://texttopng.azurewebsites.net/Home/TextToPng?text=\(text)")! let marker = CustomMarker(coordinate: label.location.coordinate, url: url) but…
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
0
votes
1 answer

How to set mapbox static map marker offset?

If marker shape is a drop we need to set it's offset, there is no sense setting anchor point to center for eccentric markers. I can't find any options to control mapbox static image map marker offset in mapbox API. enter link description here The…
Rantiev
  • 2,121
  • 2
  • 32
  • 56
-1
votes
1 answer

Overlay Label/Text not showing in Mapbox Static Images API

I'm using the Mapbox Static Images API to highlight a specific zip code on a map, using GeoJSON coordinates. It works, but it looks like the title property is ignored by Mapbox. Following their documentation/examples, I've also tried adding a Point…
Bruno Leveque
  • 2,647
  • 2
  • 23
  • 33
-1
votes
1 answer

Change color of polyline in static map image

I'm successfully creating a static image using MapboxStatic with the recorded track coordinates as GeoJson data. I can't figure out how to edit the color of the route painted on the image - it defaults to a black/gray color and I can't find a way to…
Yosi199
  • 1,745
  • 4
  • 22
  • 47
-1
votes
1 answer

Convert North, South latutudes, East, West longitudes and Zoom to Center and Size in mapbox

Since my question Convert North, South, East, West and Zoom to Center and Size in mapbox was closed yesterday, and I've found the answer today. I'm creating a new question. As stated in the previous question. I want to create an image on mapbox with…
technetium
  • 110
  • 2
  • 9