React HERE Maps v0.2.0
Pre-release
Pre-release
New Features
- Marker
- Introduced a new React component, Marker, to create markers on maps provided by HERE Maps.
- Encapsulate both DomMarker and standard Marker behavior from the HERE Maps API.
- Component is used as a child of a HEREMap component.
- If the component has children, we convert the children to a string and use that string as a DomMarker.
- If an bitmap property is provided, use that to create a normal marker instance (usually a locally-available image).
- Otherwise, just create a default marker at the provided location.
- Interactive Mode
- Added an interactive prop to the HEREMap component.
- Defaults to true.
- If set to false we do not attach the mouse event listeners or the UI components from the HERE Maps API.
- Basically renders a static map if interactive is set to false.
- Secure Mode
- Added a secure prop to the HEREMap component.
- If set to true, the 'useHTTPS' flag on the Platform instance associated with this react component will be set to true.
- In other words, HTTPS will be used if secure is set to true.
Changes
- Demo Site
- Vastly updated demo site with multiple examples and freshly-designed UI.