VisioMove Essential (Android)  1.27.6

◆ addOverlayView() [1/4]

boolean addOverlayView ( String  overlayViewID,
View  view,
String  placeID 
)

Adds a native overlay view above the map that's associated with a place.

Parameters
overlayViewIDThe id to given to overlay view. Must be unique.
viewThe native view to added to the map.
placeIDThe view will be anchored to the center point of the place with this ID.
Returns
true if the overlay was added to the map, otherwise false.
View lView = pInflater.inflate(R.layout.overlay, new FrameLayout(getContext()), false)
String lTitle = (TextView) lView.findViewById(R.id.overlayTitle);
lTitle.setText("B2-LL01-ID0008");
mMapView.addOverlayView("info_overlay_id", lView, "B2-LL01-ID0008");
Version
1.1
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy