Eg: [360590, 555610] - [lng, lat] in meters from google map api - GeoJson data
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
360590,
555610
],
[
360590,
555555.0128
],
[
360590,
555540
],
[
360592.4439,
555540
],
[
360600,
555540
],
[
360600,
555518.8277
]
]
]
]
}
}
]
}
here, [360590, 555610] - [X, Y] coordinates is in meters, Now we need to display this coordinates on google map, Is there any solution for this?
also we must have to use addGeoJson or loadGeoJson method because we have 200MB data in GeoJson file. Now we need to display this coordinates on google map, Is there have any solution for this?
Are you sure that these coordinates are in a meter?
It may be EPSG: 27700 or EPSG:4326 so you can try with it.
and you this link QGIS for convert coordinates and It might be useful for you.
Mapbox has a Utility class that can perform the conversion of meters to latitude/longitude for you:
Converts Spherical Mercator EPSG:900913 in xy meters to WGS84 lat/lon.
Converts
Vector2d
struct, WGS84 lat/lon to Spherical Mercator EPSG:900913 xy meters.If you're looking to do the conversion yourself, then a simple approach is the following:
40,075 km * cos(latitude) / 360