Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlorentzon committed Jun 10, 2021
1 parent a1df915 commit c0c7b3b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
- Handle fisheye origin singularity ([#339](https://github.com/mapillary/mapillary-js/pull/339))
- Filter spatial data ([#338](https://github.com/mapillary/mapillary-js/pull/338))
- Fix earth controls in Firefox on Mac ([#333](https://github.com/mapillary/mapillary-js/pull/333))
- Allow different image tiling configs for multiple viewers in the same app ([#441](https://github.com/mapillary/mapillary-js/pull/441))

### :nail_care: Improvements

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ To start using MapillaryJS with data from the [Mapillary](https://www.mapillary.
Install the package via [Yarn](https://classic.yarnpkg.com) (or [npm](https://docs.npmjs.com/about-npm)).

```sh
yarn add mapillary-js@next
yarn add mapillary-js
```

Use a CSS loader or include the CSS file in the `<head>` of your HTML file.

```html
<link
href="https://unpkg.com/[email protected]-beta.7/dist/mapillary.css"
href="https://unpkg.com/[email protected]/dist/mapillary.css"
rel="stylesheet"
/>
```
Expand All @@ -52,14 +52,14 @@ const viewer = new Viewer({
Install the package via [Yarn](https://classic.yarnpkg.com) (or [npm](https://docs.npmjs.com/about-npm)).

```sh
yarn add mapillary-js@next
yarn add mapillary-js
```

Use a CSS loader or include the CSS file in the `<head>` of your HTML file.

```html
<link
href="https://unpkg.com/[email protected]-beta.7/dist/mapillary.css"
href="https://unpkg.com/[email protected]/dist/mapillary.css"
rel="stylesheet"
/>
```
Expand All @@ -85,9 +85,9 @@ const viewer = new Viewer(options);
Include the JavaScript and CSS files in the `<head>` of your HTML file.

```html
<script src="https://unpkg.com/[email protected]-beta.7/dist/mapillary.js"></script>
<script src="https://unpkg.com/[email protected]/dist/mapillary.js"></script>
<link
href="https://unpkg.com/[email protected]-beta.7/dist/mapillary.css"
href="https://unpkg.com/[email protected]/dist/mapillary.css"
rel="stylesheet"
/>
```
Expand Down
10 changes: 5 additions & 5 deletions doc/docs/intro/try.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Install the package.
<TabItem value='yarn'>

```zsh
yarn add mapillary-js@next
yarn add mapillary-js
```

</TabItem>
<TabItem value='npm'>

```zsh
npm install --save mapillary-js@next
npm install --save mapillary-js
```

</TabItem>
Expand All @@ -61,7 +61,7 @@ Use a CSS loader or include the CSS file in the `<head>` of your HTML file.

```html
<link
href="https://unpkg.com/[email protected]-beta.7/dist/mapillary.css"
href="https://unpkg.com/[email protected]/dist/mapillary.css"
rel="stylesheet"
/>
```
Expand Down Expand Up @@ -119,9 +119,9 @@ const viewer = new Viewer({
Include the JavaScript and CSS files in the `<head>` of your HTML file.

```html
<script src="https://unpkg.com/[email protected]-beta.7/dist/mapillary.js"></script>
<script src="https://unpkg.com/[email protected]/dist/mapillary.js"></script>
<link
href="https://unpkg.com/[email protected]-beta.7/dist/mapillary.css"
href="https://unpkg.com/[email protected]/dist/mapillary.css"
rel="stylesheet"
/>
```
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/migration/v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This page describes how to migrate from MapillaryJS `v3.x` to MapillaryJS `v4.x`

## General

- Github differential - [v3.1.0...v4.0.0-beta.7](https://github.com/mapillary/mapillary-js/compare/v3.1.0...v4.0.0-beta.7)
- Github differential - [v3.1.0...v4.0.0](https://github.com/mapillary/mapillary-js/compare/v3.1.0...v4.0.0)
- Properties named `key` in `v3.x` have been renamed to `id` throughout the library in `v4.x`

### Distribution
Expand Down
2 changes: 1 addition & 1 deletion doc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mapillary-js-doc",
"version": "4.0.0-beta.7",
"version": "4.0.0",
"description": "documentation for mapillary-js",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mapillary-js",
"version": "4.0.0-beta.7",
"version": "4.0.0",
"description": "A WebGL interactive street imagery library",
"license": "MIT",
"main": "dist/mapillary.js",
Expand Down

0 comments on commit c0c7b3b

Please sign in to comment.