Skip to content

Location only shown after calling a certain configuration #457

@tobrun

Description

@tobrun

When updating an internal testing app, I'm noticing that the LocationLayerPlugin wasn't showing.

Updating the configuration as below started to show the plugin:

    locationLayerPlugin
      = new LocationLayerPlugin(mapView, mapboxMap, locationEngineWrapper.getLocationEngine());
    locationLayerPlugin.setLocationLayerEnabled(true);
    locationLayerPlugin.setRenderMode(RenderMode.NORMAL);
    locationLayerPlugin.setCameraMode(CameraMode.NONE);
  }

the last two lines were non existing with previous version. To move forward when calling setLocationLayerEnabled we should setup a minimal render and camera mode.

cc @LukasPaczos @danesfeder @cammace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug is found inside the code base and should be immediately brought to attention ASAPlocation-layer-pluginIssues that deal with the location layer module

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions