Skip to content

Releases: OSMBuildings/OSMBuildings

4.0.1 @ 2018-08-10 Bugfix

10 Aug 20:00
Compare
Choose a tag to compare

Fixed

  • fixed broken OBJ loading
  • picking always returns object rather than undefined in case of miss
  • compatibility with event property e.button restored for Safari
  • navigator.hardwareConcurrency workaround for Safari

4.0.0 @ 2018-08-01

01 Aug 20:37
Compare
Choose a tag to compare

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

30 Jan 08:25
Compare
Choose a tag to compare

Changed

  • client side simplification removed
  • improved roof creation
  • sphere support added

Fixed

  • skillion roof direction
  • touch event fix

3.2.4 @ 2017-09-03

03 Sep 02:25
Compare
Choose a tag to compare

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

27 Jul 09:04
Compare
Choose a tag to compare

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

23 Jun 22:35
Compare
Choose a tag to compare

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

20 Apr 22:42
Compare
Choose a tag to compare

Changed

Updates for CI automation

2.4.1 @ 2016-04-18

18 Apr 21:21
Compare
Choose a tag to compare

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

03 Mar 00:36
Compare
Choose a tag to compare

Fixed

  • missing texture coordinates for OBJ

2.3.0 @ 2016-02-24

24 Feb 09:29
Compare
Choose a tag to compare

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