I created a custom SVG country map and built it using jVectorMap. Now I'm trying to insert markers using lat / long on this card, but I don’t understand how the "bbox" x system works; y.
I suppose I need to reverse project the max and min lat / long of my map, but even if I look at the Alaska example below, I don’t understand how x was obtained; y. I tried using inv_aea from proj.js without recognizing anything significant.
projection: { centralMeridian: -100, type: "aea" } insets: [{ "left": 0 "top": 440, "width": 220, "height": 147 "bbox":[{ "y": -8441281.712315228, "x": -5263934.893342895 },{ "y": -6227992.545028123, "x": -1949631.2950683108 } }]
javascript coordinate-systems map-projections jvectormap
Tibo
source share