Coder Social home page Coder Social logo

react-native-here-maps's Issues

Marker Image

Can marker images be in the markerList ?

that is, if there is a marker image, a default image is used.

for example:

const markerList = [
  {
    latitude: location.lat,
    longitude: location.lon,
    title: location.title,
    description: location.description,
    image: require('image_url.png')
  }
]

Thanks.

Routing cannot find symbol

Hello;

hi, i want to use premium but how can i integrate it?

import com.here.android.mpa.routing.CoreRouter;
import com.here.android.mpa.routing.Route;
import com.here.android.mpa.routing.RoutePlan;
import com.here.android.mpa.routing.RouteResult;
import com.here.android.mpa.routing.RouteWaypoint;
import com.here.android.mpa.routing.RoutingError;
> Task :react-native-heremaps:compileDebugJavaWithJavac FAILED
/Users/yasaricli/Desktop/PROJECTS/mobile/node_modules/react-native-heremaps/android/app/src/main/java/com/heremapsrn/react/map/HereMapView.java:21: error: cannot find symbol
import com.here.android.mpa.routing.CoreRouter;
                                   ^
  symbol:   class CoreRouter
  location: package com.here.android.mpa.routing
/Users/yasaricli/Desktop/PROJECTS/mobile/node_modules/react-native-heremaps/android/app/src/main/java/com/heremapsrn/react/map/HereMapView.java:25: error: cannot find symbol
import com.here.android.mpa.routing.RouteWaypoint;
                                   ^
  symbol:   class RouteWaypoint
  location: package com.here.android.mpa.routing
/Users/yasaricli/Desktop/PROJECTS/mobile/node_modules/react-native-heremaps/android/app/src/main/java/com/heremapsrn/react/map/HereMapView.java:26: error: cannot find symbol
import com.here.android.mpa.routing.RoutingError;
                                   ^
  symbol:   class RoutingError
  location: package com.here.android.mpa.routing

Want to draw a marker list.

for example:

https://github.com/heremaps/here-android-sdk-examples/blob/master/routing/app/src/main/java/com/here/android/example/routing/MapFragmentView.java#L29

thanks.

Trouble viewing the map

Hi, I have trouble viewing my maps, I can even see the map with marked points, however when I go to the area of โ€‹โ€‹my map, which I drew, nothing appears. Do you have any tutorials for this first record? Thank you.

Click marker

Hello;

Could it be a simple application like the following?

Markers:

const markers = [
  {
    latitude: 41.0872972,
    longitude: 29.0023211,
    title: 'example 1',
    description: 'example 1 description',
  },

  {
    latitude: 41.0872972,
    longitude: 29.0023211,
    title: 'example 2',
    description: 'example 2 description',
  }
];

MapView

<MapView
  style={{ flex: 1, backgroundColor: '#FFF' }}
  center={`41.0872972,29.0023211`}
  markersList={markers}
  mapType="normal"
  initialZoom={17}
  onClickMarker={(marker) => {
    console.log(marker.title); // example 1
  }}
/>

Thanks.

Can't integrate into an existing project

Can you outline the steps for integration into an existing app? We're missing a bunch of dependencies and can't run the app anymore,

Unable to load script from assets index.android.bundle, dex count issue, can you try a fresh react native app and confirm the steps work?

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.