GithubHelp home page GithubHelp logo

heremaps / map-linkbuilder-app Goto Github PK

View Code? Open in Web Editor NEW
3.0 8.0 4.0 697 KB

A reference web application showcasing "deeplinking" to https://wego.here.com/.

Home Page: http://heremaps.github.io/map-linkbuilder-app/

License: MIT License

HTML 4.82% JavaScript 91.51% CSS 3.56% Shell 0.11%
heremaps deep-linking demo api

map-linkbuilder-app's Introduction

HERE Link Builder

Build Status

See the LICENSE file in the root of this project for license details.

Synopsis

Share.here.com URLs allow you to share HERE Objects - route, address or a POI (Point of Interest). The share.here.com link will be consumed by the share.here.com service and your user will be redirected to an appropriate application, depending on their device. The redirection logic is handled server-side.

Link Builder is a simple interface to create valid share.here.com URLs and code snippets.

You can use the output in your application to provide location related information to your users cross-platform - web, Android and iOS.

API Reference

For extended documentation see here.

Installation

Make sure you have already installed the latest version of Node.js (at least version 6.10.3) and NPM (Node Package Manager) and then run:

npm install

Running the server

npm run server

A static http server will be started on port 5000, i.e. http://localhost:5000

Tests

Make sure your server is running and execute

npm test

NOTE: Tests rely on Firefox 47+. As described on NPM, you need to download Mozilla's geckodriver in order to run them.

Other helpful commands

Lint:

npm run lint

Credits

map-linkbuilder-app's People

Contributors

freethan avatar sschuberth avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

map-linkbuilder-app's Issues

Logo rendering error

Logo appears on wrong position
screen shot 2017-05-16 at 15 43 49

Markup is broken, notice the <li class="herelogo element

screen shot 2017-05-16 at 15 43 57

Link generator for addreses is broken

Generating a link for an address on [1] doesn't work. The JS console shows an error:
Failed to load resource: the server responded with a status of 403 (Forbidden) builder.js:147 Uncaught TypeError: Cannot read property 'items' of undefined at here.builder.LocationBox._handleRequest (builder.js:147) at XMLHttpRequest.ajax.onload (utils.js:18)

The Places API link gives a 403 Not authorized error:
https://places.api.here.com/places/v1/discover/search?app_id=45vC3JHWu5fUqqUm9Ik2&app_code=U8WhuCuhmYAHgttfjOEdfg&X-Map-Viewport=-167.4317,-56.2974,-168.7692,74.4081&X-NOSE-nokiamaps-lookahead=1&q=Schreiberhauer%20Strasse%2011,%20Berlin,%20Germany

Perhaps the AppId is not valid?

Btw, I work for here. Get in touch at [email protected]

Cheers,
Stefan

[1] http://heremaps.github.io/map-linkbuilder-app/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.