Giter Site home page Giter Site logo

dengyongbiao / xamarin.forms.baidumaps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hug3id/xamarin.forms.baidumaps

0.0 2.0 0.0 93.8 MB

A simply packaging for baidu maps sdk(android v4.3.1/ios v3.3.1)

License: Apache License 2.0

C# 95.94% HTML 1.39% CSS 2.67%

xamarin.forms.baidumaps's Introduction

Xamarin.Forms.BaiduMaps

A simply packaging of baidu maps sdk(update to android v4.3.1/ios v3.3.1)

1.3.1

  • Update baidu sdk to v4.3.1(android) and v3.3.1(ios)
  • Add IMapManager interface to support GCJ-02

1.3

  • Update baidu sdk to v4.2.1(android) and v3.2.1(ios)

1.2.2

New Features

  • Replace MapStateChanged to MapStateChangedFinish (Android)

Bug fix

  • Fix crash problem (Android)
  • ZoomLevel setting conflict with map moving (iOS)

1.2.1

Bug fix

  • Fix crash problem (iOS)

1.2

  • Update baidu sdk to v4.1.1(android) and v3.1(ios)
  • Update Xamarin.Forms to v2.3.2.127

1.1.2

New Features

  • Support change Pin.Image(Android)

1.1.1

Bug fix

  • Pin.Title now can be null (iOS)
  • ILocationService callback satellites always -1 (Android)

1.1.0

New Features

  • Add Polygon support
  • Add Circle support
  • Add ICalculateUtils interface
  • Add IProjection interface

iOS Project configuration:

    1. Open Info.plist
    1.1 Bundle identifier must accord with your baidu key
    1.2 Add NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription
    
    2. Add whole mapapi.bundle(in the baidu ios sdk) to project
    
    3. Open AppDelegate.cs, add init code before LoadApplication:  
       Xamarin.FormsBaiduMaps.Init(“your baidu ios key”);

    Extra configuation below version v1.3:

    1. Right click project, enter Options->iOS Build->Additional mtouch arguments:  
    -gcc_flags "-L${ProjectDir} -framework MapKit -framework CoreMotion -framework CoreGraphics
    -framework QuartzCore -framework CoreText -framework CoreLocation -framework SystemConfiguration  
    -framework CoreTelephony -framework OpenGLES -framework Foundation -framework Security  
    -lz -lstdc++.6.0.9 -lsqlite3.0 -ObjC"

    2. Open Info.plist and add items:
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true />
    </dict>

Android Project configuration:

    1. Open MainActiveity.cs,add init code before LoadApplication:  
       Xamarin.FormsBaiduMaps.Init(null);
    2. Open Properties/AndroidManifest.xml, add permissions and your baidukey,  
       also package must accord with your baidu key

xamarin.forms.baidumaps's People

Contributors

hug3id avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.