Releases: OSMBuildings/OSMBuildings
Releases · OSMBuildings/OSMBuildings
4.0.1 @ 2018-08-10 Bugfix
4.0.0 @ 2018-08-01
Changed
-
remove() function added to explicitly remove objects, markers or layers
-
code optimizations for overall performance
-
reduced loading lag by using web workers
-
less CPU load by throttling renderer if there is no activity
-
native markers enabled, source is SVG
-
code base rewritten to ES6
-
'pointerup' event now returns target objects
-
new 'load' event when viewer is ready
-
multiple objects can be highlighted at once
-
multiple objects can be hidden at once
-
build process simplified
-
sky texture dependency removed
-
loaded buildings are growing in again
-
document events now acting on top rather than window
Fixed
- Skillion roof with inner rings rendering fixed
- viewer resize fixed
- previous color adjustments reduced
- tile loading order reverted
Breaking changes
- OSMBuildings() - options 'baseURL', 'showBackfaces', 'highlightColor', 'fogColor', 'effects[]' removed
- OSMBuildings now initializes with option 'container' instead of using method appendTo()
- methods appendTo(), show(), getTarget(), screenshot() removed
- events 'busy' and 'idle' removed
- picking on pointer movement removed
- setSize() - now takes width, height instead of { width: x, height: y }
- addGeoJSON() - option 'fadeIn' removed
- addOBJ() - option 'fadeIn' removed
- all keys/variables 'elevation' are renamed to 'altitude'
3.2.7 @ 2018-01-30
Changed
- client side simplification removed
- improved roof creation
- sphere support added
Fixed
- skillion roof direction
- touch event fix
3.2.4 @ 2017-09-03
Changed
- rotation is now controlled by mouse button 2
- global min/max zoom enabled
Fixed
- mouse event position
- better color validation
- low buildings were too dark
- better fallback for bad roof tagging
- destroy() was causing endless errors
- handling missing container height
- roof height calculation
- min/max zoom fixes
3.1.0 @ 2016-07-27
Changed
- protocol changes to https
- check for currently loading files removed - enables duplicates
- enabled 'loadfeature' event to act like 'modifier' option of objects (breaking compatibility)
Fixed
- dynamic highlightColor restored for 'highlight(id, color)'
3.0.0 @ 2016-06-24
Changed
- all OSM id's now have a prefix for their type to make them truly unique (breaking compatibility)
- GLMap and OSMBuildings are now integrated to one package (breaking compatibility)
- added 'fadeIn' option for adding GeoJSON or OBJ
- aligned pointer event positioning
Fixed
- animation timing
- FOV calculation
2.4.2 @ 2016-04-21
Changed
Updates for CI automation
2.4.1 @ 2016-04-18
New
- render effect 'outline'
- bower.json added
- option 'modifier' when adding GeoJSON or OBJ to change all properties upon load
- map events for move, zoom, rotate, tilt, rightclick, contextmenu
- OSM Buildings event for loadfeature
Changed
- picking precision improved
- first steps in new documentation setup
- initial steps in CI
- geometry processing rewritten
- switch from color-coded depth calculation to depth textures
- don't render walls for building=roof
- code examples reorganized
Fixed
- disable effects if GPU does not support them, fixes broken MSIE 11 on old machines
- pointerup event when releasing a finger
- map.getBounds() fixed, return format changed
- several destroy() methods fixed
- polyfill for Android gestures added
- pointer coordinates adjusted for maps with offset
- sun direction fixed
- several shadow Moire effects
- missing texture coordinates for OBJ
2.3.1 @ 2016-03-02
Fixed
- missing texture coordinates for OBJ
2.3.0 @ 2016-02-24
New
- SSAO finished
- shadow casting on buildings and basemap
- sky added
- horizon fog added
- building windows added
- options to control effects and overall quality
Changed
- zoom logic changed from scale-the-world to move-away
Fixed
- OBJ files didn't work properly for picking
- CustomEvent polyfill had always been in effect
- potentially diverged animation frames fixed