• Stars
    star
    198
  • Rank 195,583 (Top 4 %)
  • Language
    C#
  • Created about 9 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a library for operating baidu map,encapsulating web service API with C# language. also contains a list of controls which can be used in winform.

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


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. POIs search

  3. direction

  4. add markers and drawing

  5. search in bounds

  6. select city

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

  2. BPlacesBoard

  3. BMapControl

  4. BDirectionBoard

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 license.

More Repositories

1

VideoPipe

跨平台的视频结构化(视频分析)框架,觉得有帮助的请给个星星 : ) 。**VideoPipe下一版本正在开发中,在保证跨平台、易上手的前提下,预计性能直逼deepstream等各硬件平台官方框架**。
C++
1,204
star
2

WeChat.NET

WeChat.NET client based on web wechat
C#
259
star
3

ZhiHuDaily.UWP

知乎日报UWP版
C#
157
star
4

CNBlogs.UWP

博客园第三方客户端UWP版
C#
120
star
5

my-shared-books

《修炼之道:.NET开发要点精讲》完整初稿
48
star
6

vision-web-service

Implement of computer vision web api with Python and Tensorflow, include a image marker tool for this dl framework
Python
42
star
7

TJSYXYCommunication

a simple tcp/udp communication framework,support us to create multi-server(multi-client) with simple steps.
C#
40
star
8

ImageEditor.UWP

a tool to edit image
C#
32
star
9

cbir-image-search

use image hash, region-based color histogram to create image search engine(CBIR)
Python
30
star
10

fucklandlord

an engine of popular card game in China named doudizhu(斗地主), contains a win32 GUI besides.
C#
24
star
11

face_properties_based_vggface

Age, gender and race estimation based on VGGFace using Tensorflow 2.0
Python
15
star
12

GoogleMapDownLoader

a small tool for downloading the tiles of google map, support to merge the all tiles into a big map
C#
14
star
13

vlc.net

call vlc api with C# language, play local video or online video , live stream or vod stream.
C#
12
star
14

websocketj

redirect the STDIN/STDOUT from server side to web browser. you can operate/monitor the server side program in browser. written by Java language.
JavaScript
10
star
15

Blogs

source code from my blog
C#
8
star
16

ComputerVision.UWP

a uwp tool for microsoft ProjectOxford
C#
6
star
17

yphoto

android app which can show you the photo from Sina Weibo according to specific location in the map
Java
4
star
18

VideoPipe_DOC

documents for VideoPipe
3
star
19

FunctionGraphDrawing

a program to draw graph of function,including unary function and binary function
C#
3
star
20

vp_face_swap

swap any faces in video/image using VideoPipe frameworks, no training/dataset need.
2
star
21

FirstProject

the first project created since i registered the github id.
C
1
star