資源簡介
因為引用的是google map的js,所以測試時 需FQ 你懂得。。
代碼片段和文件信息
????
????????tle>GeoLocation tle>
????????ta?name=“viewport“?content=“initial-scale=1.0?user-scalable=no“>
????????ta?charset=“utf-8“>
????????yle>
????????????html?body?#map-canvas?{
????????????????margin:?0;
????????????????padding:?0;
????????????????height:?100%;
????????????}
???????? yle>
????????ript?src=“https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false“> ript>
????????ript>
????????????var?map;
????????????var?poly;
????????????function?initialize()?{
????????????var?myLatlng?=?new?google.maps.LatLng(31.1937077?121.4158436);
????????????var?locations?=?[
????????????[‘test1?accuracy:?150m‘?31.1937077?121.4158436?100]
????????????[‘test2?accuracy:?150m‘?31.2937077?121.4158436?100]
????????????[‘test3
評論
共有 條評論