From 8058727f4410f48f65a647947ce9c2ba3e195c0a Mon Sep 17 00:00:00 2001 From: Joshua Efiong Date: Sat, 15 Jul 2017 15:31:20 +0100 Subject: [PATCH] Bump package version to 0.4.0 --- CHANGELOG.md | 13 +++++++++++++ README.md | 21 ++++++++++++++------- package.json | 2 +- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c2c887..190f85f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ Every change, update, bug fix or new feature will be documented in this file as +### 0.4.0 + +#### New Features + +* Resizing + * Made the map resize on the window resize event, so the issue of blank tiles being rendered at the edge of an interactive map when the window is resized is no longer present. + +#### Changes + +* Packages + * Removed use of the typings tool from the project, and swapped over to @types packages to provide type declarations. + * Updated all dependencies to their latest versions. + ### 0.3.3 * SSL Connections diff --git a/README.md b/README.md index a70f67b..c78a9d7 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,24 @@ -# react-here-maps +react-here-maps +============== React Wrapper for the HERE Maps API for JavaScript (v3.0.12.4) [![Version][npm-image]][npm-url] [![Gemnasium][gemnasium-image]][gemnasium-url] [![Travis][travis-ci-image]][travis-ci-url] [![Coveralls][coveralls-image]][coveralls-url] -## Information +Information +-------------- This module is still under active development. It is very basic in its current state and is subject to significant change at this time. The documentation provided in this README is specific to the platform. Note that some features may be available in the code within the GitHub repo and will be documented here, but not yet available via the NPM package. If you are installing the package via NPM, please refer to the README provided there. -## Dependencies +Dependencies +-------------- The module will automatically load the [HERE Maps API][here-maps-link] scripts and stylesheets for you. We follow this practice because the scripts themselves are split into multiple modules and we hope to conditionally load these scripts at some point in the future based on the features that the user of the module wishes to use. -## Quick Start +Quick Start +-------------- Declare your HERE Maps component using the following React syntax: @@ -62,13 +66,15 @@ export default class Map extends Component { } ``` -## Examples +Examples +-------------- You can find a number of examples here: https://josh-es.github.io/react-here-maps/. This page is still under active development and not all features have example uses yet. You might wish to know that the 'secure' prop is set to true in all the examples since the site is served over HTTPS. -## HEREMap Component Properties +HEREMap Component Properties +-------------- | Property | Type | Optional | Description | | -------------- | ------- | -------- | ---------------------------------------------------------------------------- | @@ -118,7 +124,8 @@ interface HEREMapProps extends H.Map.Options { } ``` -## Marker Component Properties +Marker Component Properties +-------------- | Property | Type | Optional | Description | | -------------- | ------- | -------- | ---------------------------------------------------------------------------- | diff --git a/package.json b/package.json index 6d2f56b..8a3d149 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-here-maps", - "version": "0.3.3", + "version": "0.4.0", "description": "React.js HERE Maps component", "main": "dist/main.js", "scripts": {