Closed
Description
hi,
i have use json_serializer = serializers.get_serializer("json")()
to get LngLat in javascript of the map to show marker on map but i have this error after i add a variable
to the code
Uncaught Error: LngLatLike
argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]
because we can't have the longitude and latitude separated we get it like that (12.550343, 55.665957)
so in the Mapbox don't work do you have a possibility to separate what is in database like lng = 12.550343 and lat = 55.665957
that it can work in map
this is the code that I use to show in map
Metadata
Metadata
Assignees
Labels
No labels