LoginSignup
16
17

More than 5 years have passed since last update.

各Web地図サービス、Geo系ライブラリの引数(緯度経度)メモ

Last updated at Posted at 2014-09-02

緯度:lat
経度:long

LatLong系

Google Maps API

new google.maps.LatLng(<lat>, <long>);

YOLP(Yahoo map)

new Y.LatLng(<lat>, <long>);

Bing Maps

 new Microsoft.Maps.Location(<lat>, <long>),

LeafletJS

new L.LatLng(<lat>, <long>)



LongLat系

OpenLayers v2

new OpenLayers.LonLat(<long>, <lat>)

OpenLayers v3

ol.proj.transform([<long>, <lat>], 'EPSG:****', 'EPSG:****')

D3.js Geo

d3.geo.mercator().center( [<long>, <lat>] )

Proj4js

new Proj4js.Point(<long> , <lat>)
16
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
17