GithubHelp home page GithubHelp logo

flutter_baidu_mapapi_map's Introduction

flutter_baidu_mapapi_map

百度地图Flutter插件地图库组件

Getting Started

地图库组件提供了创建基础地图、覆盖物添加、地图交互、热力图、瓦片图、个性化地图、离线地图等功能;
详细的接入请参考百度地图Flutter插件官方文档

flutter_baidu_mapapi_map's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ludy2015

flutter_baidu_mapapi_map's Issues

安卓设备弹出气泡怎么设置Text文本内容?

我使用的基础地图插件:flutter_baidu_mapapi_map: ^2.0.1
运行设备:安卓手机

下面是我的应用运行截图:
53F597B2224A30C265DB3ADECF8ADEF7

我往地图上添加了 BMFInfoWindow,无法自定义图片上显示的文本,因为BMFInfoWindow的构造函数只支持传入image,不支持自定义的 title 和 text

   BMFInfoWindow infoWindow = BMFInfoWindow(
     coordinate: BMFCoordinate(tempModel.latitude,tempModel.longitude),
     image: "images/map_infowindow_bg.png",
     yOffset: -50,
     isAddWithBitmap: true,
  );

期望:能够在弹出的BMFInfoWindow上自定义文本内容。
就是要实现下图在BMFInfoWindow 上添加自定义文本的效果:
76DFEF0650D4FAE804EBB62B2E840AE1

BMKMapManager crash

if i only use flutter_baidu_mapapi_map , it work well
when i add fijkplayer in pubspec.yaml, only this, when run, it will crash with iOS
the crash info is in FlutterBmfbasePlugin
BMKMapManager *_mapManager = [[BMKMapManager alloc] init];
Thread 1: EXC_BAD_ACCESS (code=2, address=0x10b79f4b0)

请问,需要在地图控件正中间加一个marker,怎么做呢?

请问,需要在地图控件正中间加一个marker,怎么做呢?非常感谢!

      var x = (screenSize?.width??0)/2;
      var y = (screenSize?.height??0)/2;
      _marker0 = BMFMarker(
          position: BMFCoordinate(39.928617, 104.40329),
          title: '第一个',
          subtitle: 'test',
          identifier: 'flutter_marker',
          icon: 'resoures/icon_ugc_start.png',
          enabled: enable,
          isLockedToScreen:true,
          screenPointToLock: BMFPoint(x, y), // 这里的坐标应该是多少?
      );

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.