First is latitude, second longitude. Different than many constructors in mapbox.
Here are examples of formats that work:
- Degrees, minutes, and seconds (DMS):
41°24'12.2"N 2°10'26.5"E
- Degrees and decimal minutes (DMM):
41 24.2028, 2 10.4418
- Decimal degrees (DD):
41.40338, 2.17403
Tips for formatting your coordinates
- Use the degree symbol instead of “d”.
- Use periods as decimals, not commas.
- Incorrect:
41,40338, 2,17403
.
- Correct:
41.40338, 2.17403
.
- List your latitude coordinates before longitude coordinates.
- Check that the first number in your latitude coordinate is between
-90
and 90
and the first number in your longitude coordinate is between -180
and 180
.
https://support.google.com/maps/answer/18539