Created
December 8, 2020 13:51
-
-
Save johannesjo/8bb504f3c4b72b2835d4d66d65da0aac to your computer and use it in GitHub Desktop.
Draw a rectangle in here maps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const boundingREct = new H.geo.Rect(boundingBox.northEast.lat, boundingBox.northEast.lng, boundingBox.southWest.lat, boundingBox.southWest.lng); | |
this.map.addObject( | |
new H.map.Rect(boundingREct, { | |
style: { | |
// fillColor: '#FFFFCC', | |
strokeColor: '#E8FA75', | |
lineWidth: 2 | |
}, | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment