C#调用百度地图实例源码

所属分类:Windows编程
开发工具:C#
文件大小:6392KB
下载次数:4
上传日期:2019-08-06 08:53:59
上 传 者no name
说明:  C#调用百度地图实例源码 网络搜集整理 希望对大家有所帮助
(C# Call Baidu Map Instance Source I hope that the collection and arrangement of the network will be helpful to all of you.)

文件列表:
.vs (0, 2018-09-04)
.vs\BMap.NET (0, 2018-09-04)
.vs\BMap.NET\DesignTimeBuild (0, 2018-09-04)
.vs\BMap.NET\DesignTimeBuild\.dtbcache (784, 2018-09-04)
.vs\BMap.NET\v15 (0, 2018-09-04)
.vs\BMap.NET\v15\.suo (122880, 2018-09-04)
.vs\BMap.NET\v15\Server (0, 2018-09-04)
.vs\BMap.NET\v15\Server\sqlite3 (0, 2018-09-04)
.vs\BMap.NET\v15\Server\sqlite3\db.lock (0, 2018-09-04)
.vs\BMap.NET\v15\Server\sqlite3\storage.ide (4096, 2018-09-04)
.vs\BMap.NET\v15\Server\sqlite3\storage.ide-shm (32768, 2018-09-04)
.vs\BMap.NET\v15\Server\sqlite3\storage.ide-wal (1211312, 2018-09-04)
Asserts (0, 2018-03-29)
Asserts\B1.jpg (133477, 2018-03-29)
Asserts\B10.png (144486, 2018-03-29)
Asserts\B11.png (150344, 2018-03-29)
Asserts\b12.png (6418, 2018-03-29)
Asserts\b13.png (19432, 2018-03-29)
Asserts\b14.png (16325, 2018-03-29)
Asserts\b15.png (14347, 2018-03-29)
Asserts\B2.jpg (157327, 2018-03-29)
Asserts\B3.png (320698, 2018-03-29)
Asserts\B4.jpg (130633, 2018-03-29)
Asserts\B5.jpg (138482, 2018-03-29)
Asserts\B6.jpg (162304, 2018-03-29)
Asserts\B7.jpg (137781, 2018-03-29)
Asserts\B8.jpg (157148, 2018-03-29)
Asserts\B9.png (146280, 2018-03-29)
Asserts\ico.psd (23288, 2018-03-29)
Asserts\ico1.psd (26655, 2018-03-29)
Asserts\points.psd (1762792, 2018-03-29)
Asserts\strange_point.psd (22959, 2018-03-29)
Asserts\未标题-2.psd (23151, 2018-03-29)
Asserts\未标题-3.psd (31978, 2018-03-29)
BMap.NET (0, 2018-09-04)
BMap.NET.DownloadDemo (0, 2018-09-04)
BMap.NET.DownloadDemo\app.config (141, 2018-03-29)
... ...

# BMap.NET a library for operating baidu maps,encapsulating Web Service API with C# language,also contains a list of controls which can be used in winform. see more here(chinese blog): [my cnblogs][0] --- ## overview the source code contains 3 projects: `BMap.NET`,`BMap.NET.WindowsForm` and `BMap.NET.WinformDemo`. - BMap.NET encapsulates web service api, which return JObject(json.net) object. - BMap.NET.WindowsForm contains some controls which can be used in winform.for example: `BMapControl` which can display baidu map, `BDirectionBoard` is responsible for navigation, etc. - BMap.NET.WinformDemo a demo showing how to use controls in BMap.NET.WindowsForm. some screenshots below: 1. autocomplete search box ![][2] 2. POIs search ![][3] 3. direction ![][4] 4. add markers and drawing ![][5] 5. search in bounds ![][6] 6. select city ![][7] ## can do and cant do can do in **BMap.NET**: - Search places by city, bounds, circle(nearby); - Place suggestion; - Geocoding; - Direction(transit, driving, walking); - Located by IP; - Coordinates transofrm; can do in **BMap.NET.WindowsForm**: - Display Baidu Map(drag, move, zoom etc); - Select map mode(normal, satellite, roadnet); - Set map load mode(cache, cache_first, server); - Drawing shapes in map; - Measturing distance; - Add Markers in map; - Save map to image (screenshot by selectting a region); - Autocomplete search box; - Direction control; - Places list control; cant do: - ~~3D map~~; - ~~Street view~~; - ~~Direction according to real-time traffic conditions~~; In addition, this project is used only for Baidu map, so the `Extension ability` is so so. you can modify the source code to meet your needs. ## how to use `BMap.NET` is very simple to use(just some interfaces to get json data from baidu map server). `BMap.NET.WindowsForm` only opens 5 controls: `BPlaceBox`, `BMapControl`, `BPlacesBoard`, `BDirectionBoard` and the `BTabControl`. you can drag them into form desinger and set few properties to let them build associations like this: 1. BPlaceBox ![][8] 2. BPlacesBoard ![][9] 3. BMapControl ![][10] 4. BDirectionBoard ![][11] **press F5 without any other writed codes.** `BTabControl` is only used as a container which contains `BPlacesBoard` and `BDirectionBoard`. ## thanks my thanks below: 1. baidu map api documents(http://developer.baidu.com/map/index.php?title=webapi) 2. json.net(https://json.codeplex.com/) 3. json visualization(http://www.bejson.com/) **all source code follow the [MIT][1] license.** [0]: http://www.cnblogs.com/xiaozhi_5638/ [1]: https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89 [2]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/B3.png [3]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/B1.jpg [4]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/B2.jpg [5]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/B4.jpg [6]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/B5.jpg [7]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/B6.jpg [8]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/b14.png [9]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/b12.png [10]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/b13.png [11]: https://github.com/sherlockchou86/BMap.NET/blob/master/Asserts/b15.png

近期下载者

相关文件


收藏者