Skip to content
Advertisement

Tag: maps

Convert bbox coordinates to geoJSON

Hello I have a array of coordinates that look something like this: [14.540536348680394,65.03068471588048,18.945463651319603,66.82731528411952] I need to properly display it on my openlayers map but it seems like I must convert the bbox to a valid geoJSON object first. Is there a fuction I can write or a library that can do this for me? Or is there any work arounds

JS: Nested Maps

I was trying to implement a [Wordle][1] assistant in JavaScript. I am new to JS, and I am sure the following is trivial, but maps are still confusing me. Suppose I have: How can I have the counts of unique items in the following format: (Would I do better with a different data structure?) (These are calculated values, so I

Compare 2 maps in JavaScript

i want to ask if it’s possible to do this: I want to compare these 2 maps. I want to have a console.log() with the deferences of the maps. Finally if the maps are the same and i add in map1 a new set I want a log to tell me which is the new pair of kay-val Thank you

HERE map controls not loading in React

I’m trying to display zoom in and zoom out control in HERE maps in React. I’ve followed the steps mentioned in the documentation, but I’m not getting any help from there. I’ve followed everything in the link: https://developer.here.com/tutorials/react/ My map component link: https://gist.github.com/pranay414/84f5fe4ed1b704c1ff34409a957c37d7 This is the error message I’m getting: Answer I’m trying to display zoom in and zoom out

Which projection is Mapbox using

I have UTM coordinates, EPSG: 25833. Looking at the Mapbox documentation it says Mapbox supports the popular Web Mercator projection, and does not support any other projections. Web Mercator is a nearly conformal projection that is adopted by the vast majority of web maps and its use allows you to combine Mapbox’s maps with other layers in the same projection.

Advertisement