Skip to content

Releases: sony/mapray-js

0.8.4

19 Nov 07:16
Compare
Choose a tag to compare

0.8.4

Added

  • Implement mouse event for each entities #105, #132
  • Support overlay entity#145
  • compute geographical distance between two GePoints#152, #155
  • Supported smoothly changing camera position and roration#153, #155
  • Supported to set position and rotation of camera on URL #154, #155

Improved

  • Refactor classes which related to resource#146
  • Upatate the style for jsdoc#159, #158
  • Modified stroke of TextEntity#160, #161

Bug fix

  • Animation isn't working with sigle KFLCorve#144,#143
  • Couldn't rebind EasyBindingBlock #149, #150
  • bugfix of depth hit test of anchor object #156, #157

0.8.3

28 Sep 02:34
Compare
Choose a tag to compare

Bug fix

  • material for flake will not be loaded #139, #138

0.8.2

18 Sep 09:48
Compare
Choose a tag to compare

Added

  • Support Animation in each entity and added path entity#106, #126
  • Support Point Cloud #127, #130

Improved

  • Improved operation of mouse zoom #119, #118

Bug fix

0.8.1

01 May 05:25
Compare
Choose a tag to compare
  • Support glTF KHR_materials_unlit#115, #112
  • Delete non-required packages and add required packages#113, #114
  • Modify includiing modules when build dev mode #116

0.8.0

23 Mar 10:03
Compare
Choose a tag to compare
  • Build the foundation of the animation engine #101
  • Modulized maprayJS and ui packages #107

0.7.3

27 Jan 10:59
Compare
Choose a tag to compare

Bug fix

  • fixed that glTF rendering is black and nolighting #97

0.7.2

16 Dec 13:05
Compare
Choose a tag to compare

Bug fix

  • fixed deployment error for npmcom #89

0.7.1

16 Dec 12:09
Compare
Choose a tag to compare

Added

  • Support ClampTpTerrian mode for all entities #60
  • Support altitude mode and extruded mode for GeoJSON Loader #63, #69
  • Add attribution controller #85
  • Organize copyright notices #86
  • Add UI Engine #78 #82
  • Support Text stroke and background color in TextEntity #72
  • Update Examples and tutorials #65, #68 #70
  • Add CSS files and support to generate css file #84

Bug fix

Breaking change

Renamed height variable to altitude in GeoPoint.
#73

0.7.0

01 Oct 13:31
Compare
Choose a tag to compare

Added

  • Altitude mode for each entites and schema of scene file #49
  • GeoJSON Loader #46
  • Support Polygon Entity #35
  • Support Pin Entity #34
  • Support ImageIcon Entity #56
  • Support Mapray API #52
  • Support Model entity #50
  • Breaking changes
  • Change the coordination for mapray scene file and API #50

Removed

  • Generic Entity #50

0.6.0

02 Jul 03:06
083178a
Compare
Choose a tag to compare

Added

  • Added options and methods to specify object visibility in mapray.Viewer

    • Options

      • ground_visibility: Ground visibility
      • entity_visibility: Entity visibility
    • Method

      • setVisibility
      • getVisibility
  • Supports loading a glTF model #18

  • Supports new scene graph engine that manages 3D models #17 #18

  • Added method to calculate KML compatible model transformation matrix in mapray.GeoMath #15

    • kml_model_matrix()
  • Add entity class mapray.ModelEntity #18

  • Support rotate and scale to the transform property in mapray scene file #16

  • Added some samples for maprayJS #10

  • Support CI with TravisCI #23

Changed

  • Remove babel es2015 #21
  • Support error handing in fetch functions #20

Details about changes to the mapray scene file

Rotate (heading, tilt, roll) and scale(scale) to the transform property of each entity
You can now optionally specify the properties.

The following is an example specification of the transform property.
It rotates 45 degrees to the right and makes the scale 10 times larger.

{
  "type": "generic",
  "transform": {
    "cartographic": [139.8, 36.5, 12.3],
    "heading": 45,
    "scale": [10, 10, 10]
  },
  ...
}

Added entity type corresponding to mapray.ModelEntity.
When using this type, specify model for the type property.

Refers to a model object registered in model_register by the ref_model property.

If there are multiple models in the referenced model object, you can use integers or names in index
It can be selected by specifying.

"model_register": {
  "model-x": {
    "link": "models/model-x.gltf",
    "offset_transform": { "heading": 180, "tilt": -90 }
  },
  ...
},

"entity_list": [
  {
    "type": "model",
    "transform": { "cartographic": [140.0, 35, 0], "heading": 180 },
    "ref_model": "model-x"
  },
  {
    "type": "model",
    "transform": { "cartographic": [140.1, 35, 0], "scale": 2.5 },
    "ref_model": "model-x",
    "index": 3
  },
  {
    "type": "model",
    "transform": { "cartographic": [140.2, 35, 0] },
    "ref_model": "model-x",
    "index": "scene-name-x"
  },
  ...
]