Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蒋波涛
/
landsurvey
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4165197e
authored
2018-03-30 11:46:33 +0800
by
chiangbt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新图层说明
1 parent
1426338c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
readme.md
readme.md
View file @
4165197
...
...
@@ -67,7 +67,8 @@ mapView.zoomToResolution(initPoint, t_vec.getRes()[16]);
TencentMapsTiledServiceLayer tencentMapsTiledServiceLayer = new TencentMapsTiledServiceLayer(TencentMapLayerTypes.TENCENT_MAP_VECTOR);
mapView.addLayer(tencentMapsTiledServiceLayer);
// 经纬度坐标要换成web墨卡托
Point pt = GISHelper.lonLat2Mercator(AppInfo.initPoint);
Point initPoint = new Point(121.56, 29.862149);
Point pt = GISHelper.lonLat2Mercator(initPoint);
mapView.zoomToResolution(pt, tencentMapsTiledServiceLayer.getRes()[16]);
```
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment