samsantosh / osmbonuspack Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/osmbonuspack
Automatically exported from code.google.com/p/osmbonuspack
What steps will reproduce the problem?
1. specify RoadManager roadManager = new MapQuestRoadManager();
2. add option routeType=bicycle
3.
What is the expected output? What do you see instead?
A sensible route to the destination
A straight line without markers
What version of the product are you using?
v3.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 Apr 2013 at 4:34
Hello,
I have a problem using a LocationListener and a MediaEventReceiver.
If the LocationManager is requesting for updates my LongpressHelper and
SingleTapUpHelper doesn't work.
Have you any Idea how to solve this problem?
Original issue reported on code.google.com by [email protected]
on 11 Nov 2013 at 8:09
On the usual Nominatim service (nominatim.openstreetmap.org ), requesting POI
along a route is returning no result.
Until we understand the issue, if you need this feature, you can switch to
MapQuest OPEN API equivalent, using this method:
poiProvider.setService(NominatimPOIProvider.MAPQUEST_POI_SERVICE);
Original issue reported on code.google.com by [email protected]
on 30 Aug 2012 at 8:12
What steps will reproduce the problem?
1.Create OsmDroid MapView
2.show the map
3.Create two Geopoints to calculate a route
What is the expected output? What do you see instead?
i expected to see the rout but
the project on emulator with target 4.3 not run has the error "unfortunately
has stopped". on device with android 4.1.2 has the same error but on device
with android 2.3.6 project runs but does not display the rout!!!!
What version of the product are you using?
osmdroid-android-3.0.10 and slf4j-android-1.6.1-RC1 with
osmbonuspack_v2.2 or osmbonuspack_v4.2.4 or osmbonuspack_3.0
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 7 Jan 2014 at 4:51
What steps will reproduce the problem?
1.Open Activity A with the map
2. Create a ItemizedOverlayWithBubble for the points
3. Click on a point of the map -> a bubble should appear
4. Click on the button from the bubble and Activity B appears
5. Go back to activity A
What is the expected output? What do you see instead?
The bubble should disapear, it keeps opened. How can I dismiss an opened bubble?
What version of the product are you using?
3.0.8
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 May 2013 at 2:23
What steps will reproduce the problem?
1. Download
2. Click the downloads file
3. Say Amen
What is the expected output? What do you see instead?
What version of the product are you using?
4.2.1
Please provide any additional information below.
P.S. what about to make some human readable examples how to make simple
Bubble-Marker on the Map...
Original issue reported on code.google.com by [email protected]
on 12 Dec 2013 at 10:39
What steps will reproduce the problem?
1.Run a for loop with mNodes.size() parameter;
What is the expected output? What do you see instead?
Expected output = the size of mNodes from a Road;
What I see = mNodes is aways zero;
What version of the product are you using?
osmdroid r1382
osmbonuspack r198
Please provide any additional information below.
It's like Issue 14.
I'm getting this error on the log, is possible that it is the trouble?
10-28 23:41:04.261: E/BONUSPACK(5487): OSRMRoadManager::getRoad: request failed.
In the next screenshot you can see the route without the marker nodes.
Original issue reported on code.google.com by [email protected]
on 28 Oct 2013 at 11:46
Attachments:
I cant download the latest 4.2.2 jar file and the documentation of the
project.Can anyone please give me working url for downloading these?
Original issue reported on code.google.com by [email protected]
on 21 Dec 2013 at 7:56
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Hi, Could you please give a tutorial or an example about point to point routing
application? (For example between two points (A and B) whose coordinates are
given). And which services do you supported, for example do you support Open
Route Service? Thank you for your interest.
What version of the product are you using? On what operating system?
Osmdroid 3.0.5, eclipse platform
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2012 at 5:29
I try to use mapview.getoverlay.clear(), all marker romove but the buble infor
don't remove.
Original issue reported on code.google.com by nguyenduyan90
on 22 Nov 2013 at 2:41
What steps will reproduce the problem?
1. Use osmbonuspack with newest Version of osmdroid
osmdroid encapsulated the mGeoPoint field of an OverlayItem behind an accessor
method. ItemizedOverlayWithBubble accesses the variable directly. please change
this.
Original issue reported on code.google.com by [email protected]
on 23 Aug 2013 at 3:03
The following code will throw a NullPointerException when trying to click on
the map marker.
List<ExtendedOverlayItem> list = new ArrayList<ExtendedOverlayItem>();
list.add(new ExtendedOverlayItem("title", "description", new GeoPoint(40.275405, -74.058076), getActivity().getApplicationContext()));
ItemizedOverlayWithBubble<ExtendedOverlayItem> itemizedBubble =
new ItemizedOverlayWithBubble<ExtendedOverlayItem>(getActivity().getApplicationContext(), list, mapView, new LocationInfoWindow(mapView));
mapView.getOverlayManager().add(itemizedBubble);
OverlayItem's mHotspotPlace could be null if setMarketHotspot is not called in
ExtendedItemOverlay before getHotspot
What version of the product are you using?
osmbonuspack_v1.5.jar
Please provide any additional information below.
07-11 18:41:52.757: E/ACRA(23869): ACRA caught a NullPointerException exception
for mil.vrod. Building report.
07-11 18:41:53.539: E/AndroidRuntime(23869): FATAL EXCEPTION: main
07-11 18:41:53.539: E/AndroidRuntime(23869): java.lang.NullPointerException
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.bonuspack.overlays.ExtendedOverlayItem.getHotspot(ExtendedOverlayIt
em.java:86)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.bonuspack.overlays.ExtendedOverlayItem.showBubble(ExtendedOverlayIt
em.java:135)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.bonuspack.overlays.ItemizedOverlayWithBubble.showBubbleOnItem(Itemi
zedOverlayWithBubble.java:76)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.bonuspack.overlays.ItemizedOverlayWithBubble.onSingleTapUpHelper(It
emizedOverlayWithBubble.java:82)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.views.overlay.ItemizedIconOverlay$1.run(ItemizedIconOverlay.java:12
4)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.views.overlay.ItemizedIconOverlay.activateSelectedItems(ItemizedIco
nOverlay.java:178)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.views.overlay.ItemizedIconOverlay.onSingleTapUp(ItemizedIconOverlay
.java:117)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.views.overlay.OverlayManager.onSingleTapUp(OverlayManager.java:272)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.views.MapView$MapViewGestureDetectorListener.onSingleTapUp(MapView.
java:1312)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.GestureDetector.onTouchEvent(GestureDetector.java:568)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
org.osmdroid.views.MapView.dispatchTouchEvent(MapView.java:782)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(P
honeWindow.java:2060)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow
.java:1398)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.app.Activity.dispatchTouchEvent(Activity.java:2364)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneW
indow.java:2008)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.View.dispatchPointerEvent(View.java:5768)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:2911)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2485)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:852)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2494)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.os.Handler.dispatchMessage(Handler.java:99)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.os.Looper.loop(Looper.java:137)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
android.app.ActivityThread.main(ActivityThread.java:4514)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
java.lang.reflect.Method.invokeNative(Native Method)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
java.lang.reflect.Method.invoke(Method.java:511)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
07-11 18:41:53.539: E/AndroidRuntime(23869): at
dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 6:45
It would be great to have a set of classes to get POIs (Points of Interests).
But this raises numerous questions:
- What are the "must have" features?
Using simple tags, or complex queries?
Ability to search along a route?
Which kind of POI, and for which kind of content?
- Which service(s) are relevant: XAPI? MapQuest Nominatim? GeoNames? Others?
Expressed needs, experience and advice will be welcome.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 2:06
Search for "flickr" Feature repeatedly, at various places, to avoid cache usage
and force actual loading of images thumbnails.
Results: lot of exceptions (catched), then either an application crash, or
access to Internet broken.
Same result may occur when searching for "picasa" Feature, but you will need to
insist a lot more.
I already implemented a workaround on Android issue about image loading:
http://stackoverflow.com/questions/4601352/createfromstream-in-android-returning
-null-for-certain-url
There is certainly something else around BonusPackHelper.loadBitmap, but I
can't find what.
Original issue reported on code.google.com by [email protected]
on 22 Jul 2013 at 3:54
OSRM recently changed the duration unit of the steps on the public demo
service: it was in 10th of seconds, it is now in seconds.
This impacts RoadNode.mDuration on OSMBonusPack side.
Fix has been done in the trunk. The jar will be provided soon.
Original issue reported on code.google.com by [email protected]
on 14 Sep 2012 at 9:17
What steps will reproduce the problem?
1.create routing project
2.create loading kml from url project
3.create show pois project
What is the expected output? What do you see instead?
these project run on galaxy ace with android 2.3.6 but they are not work
properly on devices with android 4.1.2(galaxy young) and 4.2.2(galaxy tab3).for
routing it just shows the straight line ,for second one it does not show the
kml overlay. and the last one force closed .
What version of the product are you using?
osmdroid-android-4.0 slf4j-android-1.6.1-RC1
osmbonuspack_v4.2.4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2014 at 3:23
What steps will reproduce the problem?
1. Load the KML as specified in the tutorial
2. Change the kmlObject (result)'s mObjectType to 3
3. Run
What is the expected output? What do you see instead?
The KML outline to be shown but the app crashes. Upon walking through the code,
I found the method setPoints (line 132 in Polygon.java) to throw the error
because the geopoint list is null.
What version of the product are you using?
4.2.2
Please provide any additional information below.
After carefully reading the tutorial and the code, I found that one had to set
the mObjectType, otherwise it crashes anyway at various places.
Thank you for your help in advance.
Original issue reported on code.google.com by fahrenhorstw
on 30 Dec 2013 at 1:36
road.mNodes.size()
Original issue reported on code.google.com by [email protected]
on 26 Nov 2012 at 8:37
Attachments:
What steps will reproduce the problem?
1.Compiling is now ok.
2.Starting the run ... so transfer to my mobile ... then it crashes
What is the expected output? What do you see instead?
> A started App on my mobile. It dumps.
What version of the product are you using?
> osmbonuspack jar v.1
Please provide any additional information below.
1. I had a simple working program with osmdroid
2. I added the following code ... see my attachment. This file is called from
the Activity class. Nothing special there.
3. I added the bonuspack_bubble.xml
4. Because no btn_moreinfo.png was there I created a simple PNG based on the
arrow_moreinfo.png (or so) and the ic_menu.
Background: I use a bridge from Mapsforge to Osmdroid. Works perfectly.
Original issue reported on code.google.com by [email protected]
on 13 Nov 2013 at 7:22
Attachments:
What steps will reproduce the problem?
1. Create a Polygon with 3 separated points
2. Draw it
What is the expected output? What do you see instead?
The line enclosing goes from point 1 to point 2 and from point 2 to point 3.
But it's missing point 3 to point 1, as
com.google.android.gms.maps.model.Polygon does.
What version of the product are you using?
4.2.4
Original issue reported on code.google.com by [email protected]
on 8 Jan 2014 at 8:17
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using?
Please provide any additional information below.
I can calculate pedestrian route by using mapquest roadmanager on emulator now
(figure1).But when I test my application on my mobile phone (HTC Desire S),
route is passing only start and destination point (see problem1.jpg). what is
your opinion,what the problem is. Did you test this application on any android
mobile device? Thank you for your interest again.
Original issue reported on code.google.com by [email protected]
on 23 Jun 2012 at 11:19
Attachments:
More of a feature request than anything.
What steps will reproduce the problem?
1. Try to use local kml files in assets folder
2. Use AssetManager to get InputStream to asset
3. Find there is no way to read and parse InputStream
What version of the product are you using?
osmbonuspack_v4.2.6
Please provide any additional information below.
I just think this would be a useful feature as getting assets from the apk is
done through InputStreams rather than File and currently there does not appear
to be any way to directly use these. I have a number of small KML files I would
like to use and I see no reason to store them on the SD card.
Original issue reported on code.google.com by [email protected]
on 31 Jan 2014 at 10:51
What steps will reproduce the problem?
1.create a project to load kml file
2.
3.
What is the expected output? What do you see instead?
the app loads low kmls but dose not load high volume kml file forexample 40mb.
What version of the product are you using?
osmbonuspack_v4.2.4
Please provide any additional information below.
i test this project on device with android 2.3.6 and 4.1.2
also i still have my previous problem (issues 48)
Original issue reported on code.google.com by [email protected]
on 14 Jan 2014 at 12:00
We are developing an app that needs the following. When calling getPOICloseTo i
need to get the list of this POIS BUT sorted by lenght (between my point from
to the particular POI) and it would be great to get the lenght to.
A solution can be to use the Road Manager, but we dont want to do that because
of the processing time needed to do that.
Is it possible to add some functionality like this?
Thanks in advance.
What version of the product are you using?
3.1.
Original issue reported on code.google.com by [email protected]
on 6 Feb 2013 at 3:32
I have one more question. I wat thinking to add in your lib that my app reads
road, but instead of reading turn by turn information I wan't that it reads
place by place information. Can you give me some hint's how to do it.
I was thinking to use nominatim classes and reverse geocoding I hope that this
will be useful.
I hope that I don't bother you with so many questions.
Original issue reported on code.google.com by [email protected]
on 28 Aug 2012 at 9:39
Hello,
I'm using the osmbonuspack for map routing and I'm having an issue of an out of
bounds index. What is odd is that the same call is made over and over
successfully with the same parameters then all of the sudden it breaks. Can you
provide any clues to what is going on?
Thank you
12-05 16:20:34.070: E/AndroidRuntime(14825): FATAL EXCEPTION: main
12-05 16:20:34.070: E/AndroidRuntime(14825):
java.lang.IndexOutOfBoundsException: Invalid index 17, size is 16
12-05 16:20:34.070: E/AndroidRuntime(14825): at
java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
java.util.ArrayList.get(ArrayList.java:311)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
org.osmdroid.views.overlay.ItemizedOverlay.getItem(ItemizedOverlay.java:149)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
org.osmdroid.bonuspack.overlays.ItemizedOverlayWithBubble.draw(ItemizedOverlayWi
thBubble.java:137)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
org.osmdroid.views.overlay.OverlayManager.onDraw(OverlayManager.java:119)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
org.osmdroid.views.MapView.dispatchDraw(MapView.java:869)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.drawChild(ViewGroup.java:1644)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.drawChild(ViewGroup.java:1644)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.View.draw(View.java:7022)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.widget.FrameLayout.draw(FrameLayout.java:357)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.drawChild(ViewGroup.java:1646)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.drawChild(ViewGroup.java:1644)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.View.draw(View.java:7022)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.widget.FrameLayout.draw(FrameLayout.java:357)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:191
7)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewRoot.draw(ViewRoot.java:1562)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewRoot.performTraversals(ViewRoot.java:1298)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1900)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.os.Handler.dispatchMessage(Handler.java:99)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.os.Looper.loop(Looper.java:130)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
android.app.ActivityThread.main(ActivityThread.java:3691)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
java.lang.reflect.Method.invokeNative(Native Method)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
java.lang.reflect.Method.invoke(Method.java:507)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
12-05 16:20:34.070: E/AndroidRuntime(14825): at
dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by [email protected]
on 10 Dec 2012 at 2:31
hello,
I tried to use the osmbonuspack in my own application. But when I add the
osmbonuspack_v3.8.jar to Java Build Path Eclipse says that there are
compilations errors.
Can you help me?
I attach my project to this post.
Original issue reported on code.google.com by [email protected]
on 30 Oct 2013 at 2:14
Attachments:
directions = new HashMap<String, String>();
DIRECTIONS.put("de", directions);
directions.put("0", "Unbekannte Instruktion< auf %s>");
directions.put("1","Bleiben Sie< auf %s>");
directions.put("2","Biegen Sie leicht rechts ab< auf %s>");
directions.put("3","Biegen Sie rechts ab< auf %s>");
directions.put("4","Biegen Sie scharf rechts ab< auf %s>");
directions.put("5","Bitte wenden< auf %s>");
directions.put("6","Biegen Sie scharf links ab< auf %s>");
directions.put("7","Biegen Sie links ab< auf %s>");
directions.put("8","Biegen Sie leicht links ab< auf %s>");
directions.put("9","Sie haben einen Wegpunkt ihrer Reise erreicht");
directions.put("10","<Begeben Sie sich auf %s>");
directions.put("11-1","Begeben Sie sich in den Kreisverkehr und nehmen die erste Ausfahrt< auf %s>");
directions.put("11-2","Begeben Sie sich in den Kreisverkehr und nehmen die zweite Ausfahrt< auf %s>");
directions.put("11-3","Begeben Sie sich in den Kreisverkehr und nehmen die dritte Ausfahrt< auf %s>");
directions.put("11-4","Begeben Sie sich in den Kreisverkehr und nehmen die vierte Ausfahrt< auf %s>");
directions.put("11-5","Begeben Sie sich in den Kreisverkehr und nehmen die fünfte Ausfahrt< auf %s>");
directions.put("11-6","Begeben Sie sich in den Kreisverkehr und nehmen die sechste Ausfahrt< auf %s>");
directions.put("11-7","Begeben Sie sich in den Kreisverkehr und nehmen die siebente Ausfahrt< auf %s>");
directions.put("11-8","Begeben Sie sich in den Kreisverkehr und nehmen die achte Ausfahrt< auf %s>");
directions.put("11-9","Begeben Sie sich in den Kreisverkehr und nehmen die neunte Ausfahrt< auf %s>");
directions.put("15","Sie haben ihr Ziel erreicht");
Original issue reported on code.google.com by [email protected]
on 25 Aug 2013 at 1:16
What steps will reproduce the problem?
1.I followed exactly the first two steps in the tutorial
What is the expected output? What do you see instead?
Instead of seeing the route from point A to point B, these 2 points are
connected by a straight line
What version of the product are you using?
osmbonupack_v4.1
Please provide any additional information below.
I get an exception when trying to parse the routing message:
OSRMRoadManager.getRoad:http://router.project-osrm.org/viaroute?&loc=48.129999999999995,-1.63&loc=48.4,-1.9&instructions=true&alt=false
and then a JSONException:
org.json.JSONException: Unterminated string at character 363 of {"version":
0.3,"status":0,"status_message": "Found route between points","route_geometry":
"crrxzAppnbBnCd_@tAhKsGbImeAhmAiGvGwDbFwD|Ecb@tVgDpBo@Jed@lHqF|@{SiyAcOwy@aEcQmI
}Wm@eBsCyIaYkp@}AqD}AwDkP{`@uG{OeGqOkb@sfA{Wyl@gA{BqUcn@{AeIo@_I`BsGRwJeAiIeAsCu
CcE{DyB_BWuB?qEbCeE|F}AxIObK_AnIoC~IcExI_N|R{NhPuRdSeObMmSnNyVrMcXnJqf@dNmLnBaGX
sFaBwGeMaGsFuFwBsEk@mJfBeI|FeF`
Original issue reported on code.google.com by [email protected]
on 21 Nov 2013 at 8:31
When using MapQuestRoadManager with specified parameter("routeType=pedestrian")
I obtain Internal Server Error as a response. I have noticed that the outcoming
url uses "v0" version whereas application of "v1" version returns valid xml as
a response.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2013 at 1:44
latest OSMbonusPack
in OnCreate:
new Thread(new Runnable(){
@Override
public void run(){
RoadManager roadManager = new MapQuestRoadManager();
ArrayList<GeoPoint> waypoints = new ArrayList<GeoPoint>();
waypoints.add(new GeoPoint(latCoord[0]*1E6,lonCoord[0]*1E6));
waypoints.add(new GeoPoint(latCoord[1]*1E6,lonCoord[1]*1E6)); //end point
Road road = roadManager.getRoad(waypoints);
PathOverlay roadOverlay = RoadManager.buildRoadOverlay(road, mapView.getContext());
mapView.getOverlays().add(roadOverlay);
mapView.invalidate();
final ArrayList<ExtendedOverlayItem> roadItems = new ArrayList<ExtendedOverlayItem>();
ItemizedOverlayWithBubble<ExtendedOverlayItem> roadNodes = new ItemizedOverlayWithBubble<ExtendedOverlayItem>(ct,roadItems,mapView);
mapView.getOverlays().add(roadNodes);
Drawable marker = getResources().getDrawable(R.drawable.marker_node);
for (int i=0; i<road.mNodes.size(); i++){
RoadNode node = road.mNodes.get(i);
ExtendedOverlayItem nodeMarker = new ExtendedOverlayItem("Step "+i, "", node.mLocation, ct);
nodeMarker.setMarkerHotspot(OverlayItem.HotspotPlace.CENTER);
nodeMarker.setMarker(marker);
roadNodes.addItem(nodeMarker);
}
mapView.invalidate();
}
});
marker does not appear!
data from an array of coordinates is not empty!!!
what is wrong?
Original issue reported on code.google.com by [email protected]
on 14 Apr 2013 at 6:20
Hello, firstly, I've added osmdroid overlays and osmbonuspack to my
experimental map-viewer. I had to modify the internals to work with my MapView
and therefore added the sources to my project. If you have objections about
author/copyright assignment please let me know.
For the bug: the async loading of thumbnails doe not test whether the view
passed to it still shows that poi (it could be reused for another when
scrolling). I've modified it so that it checks in onPostExecute whether the
thumbnails should be show on the view:
https://github.com/jeffdameth/VectorTileMap/blob/overlay/VectorTileMap/src/org/o
smdroid/location/POI.java
Best Regards
Original issue reported on code.google.com by [email protected]
on 27 Oct 2012 at 12:06
What steps will reproduce the problem?
1. Select MapQuest as route provider
2. Enter a departure and a destination
What is the expected output? What do you see instead?
=> No route
Reason is that MapQuest Open API now requires a valid API key (this was not
mandatory until recently).
Original issue reported on code.google.com by [email protected]
on 26 Dec 2013 at 5:02
Hello.
I've added a Polish dictionary to OSRM navigation.
Could you integrate it into main project ?
directions = new HashMap<String, String>();
DIRECTIONS.put("pl", directions);
directions.put("0", "Nieznana instrukcja<w %s>");
directions.put("1","Kontunuuj jazdę<na %s>");
directions.put("2","Skręć lekko w prawo<w %s>");
directions.put("3","Skręć w prawo<w %s>");
directions.put("4","Skręć ostro w prawo<w %s>");
directions.put("5","Zawróć<na %s>");
directions.put("6","Skręć ostro w lewo<w %s>");
directions.put("7","Skręć w lewo<w %s>");
directions.put("8","Skręć lekko w lewo<w %s>");
directions.put("9","Dotarłeś do punktu pośredniego");
directions.put("10","<Jedź %s>");
directions.put("11-1","Wjedź na rondo i opuść je pierwszym zjazdem<w %s>");
directions.put("11-2","Wjedź na rondo i opuść je drugim zjazdem<w %s>");
directions.put("11-3","Wjedź na rondo i opuść je trzecim zjazdem<w %s>");
directions.put("11-4","Wjedź na rondo i opuść je czwartym zjazdem<w %s>");
directions.put("11-5","Wjedź na rondo i opuść je piątym zjazdem<w %s>");
directions.put("11-6","Wjedź na rondo i opuść je szóstym zjazdem<w %s>");
directions.put("11-7","Wjedź na rondo i opuść je siódmym zjazdem<w %s>");
directions.put("11-8","Wjedź na rondo i opuść je ósmym zjazdem<w %s>");
directions.put("11-9","Wjedź na rondo i opuść je dziewiątym zjazdem<w %s>");
directions.put("15","Dotarłeś do celu podróży");
Original issue reported on code.google.com by [email protected]
on 19 Jul 2012 at 8:12
Hey, I've followed howto in wiki, I also added all the necessary files listed
here: http://code.google.com/p/osmbonuspack/wiki/HowToInclude. But I get this
exception when trying to use bubbles. Is there anything else I should do?
04-06 17:31:37.222: E/AndroidRuntime(9007): Caused by:
android.content.res.Resources$NotFoundException: File
res/drawable/btn_moreinfo.xml from drawable resource ID #0x7f020002
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.content.res.Resources.loadDrawable(Resources.java:1953)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.content.res.TypedArray.getDrawable(TypedArray.java:601)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.view.View.<init>(View.java:3330)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.widget.TextView.<init>(TextView.java:583)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.widget.Button.<init>(Button.java:107)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.widget.Button.<init>(Button.java:103)
04-06 17:31:37.222: E/AndroidRuntime(9007): ... 37 more
04-06 17:31:37.222: E/AndroidRuntime(9007): Caused by:
java.lang.NullPointerException
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.graphics.drawable.DrawableContainer$DrawableContainerState.addChild(Draw
ableContainer.java:525)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.graphics.drawable.StateListDrawable$StateListState.addStateSet(StateList
Drawable.java:288)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:186)
04-06 17:31:37.222: E/AndroidRuntime(9007): at
android.graphics.drawable.Drawable.createFromXmlInner(Drawable
Original issue reported on code.google.com by [email protected]
on 6 Apr 2013 at 5:48
What steps will reproduce the problem?
1. Create OsmDroid MapView
2. Create two Geopoints and calculate a route
3. Display route on MapView
4. Move Map or zoom in on route and move on map
What is the expected output? What do you see instead?
Route stays always visible.
Route disappears sometimes
What version of the product are you using?
osmbonuspack v3.1
osmdroid v3.0.8
Please provide any additional information below.
When I move on the map or zoom in on the map to see the route, the route
disappears. What can I do to let the route always stay visible?
For examples, see attached files.
Thanks in advance.
Greetings
Original issue reported on code.google.com by fbo%[email protected]
on 10 Jan 2013 at 4:29
Attachments:
What steps will reproduce the problem?
1. Load kml file with inline style color eg
<Style><LineStyle><color>ff0000ff</color></LineStyle></Style>
2.
3.
What is the expected output? What do you see instead?
The area to be displayed by a blue line, but the line is red
What version of the product are you using?
4.2.3
Please provide any additional information below.
It seems the color order has been reversed...
Original issue reported on code.google.com by fahrenhorstw
on 2 Jan 2014 at 9:28
What steps will reproduce the problem?
1. I install and launch demo App
2. I tried to display the KML File and nothing append
3. If i use the tutorial, it does not work either
I do not see any change displaying the KML File
I'm using the last version and I tried with 3.10, 4.0 and 4.1
Original issue reported on code.google.com by [email protected]
on 5 Nov 2013 at 5:21
What steps will reproduce the problem?
1. Download .apk demo file
2. Install it
3. Launch app
What is the expected output?
The application running normally.
What do you see instead?
Only the segfault error message :
"The application has stopped unexpectedly"
What version of the product are you using?
File : apk v3.0 from "Downloads" page
Device : Nexus 7 with android 4.2.1
Please provide any additional information below.
Nice work !
Also it could be nice to have a demo app directly in Play store.
Original issue reported on code.google.com by [email protected]
on 17 Jan 2013 at 10:37
Thank you for this wonderful library!
In the Tutorial step 3 a number of markers are added to the route.
The tutorial says: ... Here we are! Clicking on a step marker will open its
bubble.
Is there a way to know on which bubble was clicked? Then I can use that
selected bubble to do a subsequent action on it.
What version of the product are you using?
> Newest
Thank you!
Original issue reported on code.google.com by [email protected]
on 23 Dec 2013 at 7:44
What steps will reproduce the problem?
1.Use MapQuest and set "routeType=pedestrian" as a RequestOption ie.
RoadManager roadManager = new MapQuestRoadManager();
roadManager.addRequestOption("routeType=pedestrian");
2.try to get directions from (51.63191, -3.105908) to (51.629444, -3.102241)
3.set a path overlay on your map
What is the expected output? What do you see instead?
The expected output would be for the algorithm to choose the shortest path. It
chooses the longest path instead
What version of the product are you using?
osmbonuspack_v3.3
Please provide any additional information below.
As you can see from the images there is a fork in the trail. The route we
obtain is the longest one..!!
Original issue reported on code.google.com by [email protected]
on 28 May 2013 at 8:32
Attachments:
What steps will reproduce the problem?
1. Follow Tutorial 1
2. Section "Hello, Routing World!" contains statement:
Road road = roadManager.getRoad(waypoints);
which causes application to crash
What is the expected output? What do you see instead?
Drawing a route between two points.
What version of the product are you using?
Android 4.0.3 HTC Sense 3.6 Application crash
Android 4.0.3 emulator Application crash
Android 2.2 Application works
Original issue reported on code.google.com by [email protected]
on 1 Sep 2012 at 6:32
See tutorial 2, step 7: Customizing the bubble behaviour:
On clicking ?? on a bubble, can I start a ContextMenu? E.g. to delete the
bubble, update it, etc, etc.
I've tried many solutions, but cannot find a good one.
Much appreciated is your help.
Original issue reported on code.google.com by [email protected]
on 4 Jan 2014 at 7:47
This is a little enhancement i've just added to the ExtendedOverlayItem and
ItemizedOverlayWithBubble classes.
I've added a boolean parameter 'panIntoView' to enable me to control whether or
not the info-bubble is automatically panned to the map center when it is opened.
On orientation change, restoring the open info-bubble and then panning it to
the map center was not always desireable so this patch is my solution.
Martin.
Original issue reported on code.google.com by [email protected]
on 15 Nov 2012 at 11:48
Attachments:
There are requests coming from various sides to have support for KML content.
KML is a defacto standard for handling rich layers on maps. KML files can be
produced with Google Maps web interface, with Google Earth, ArcGIS, etc.
Applications are endless.
First step will be to provide a simple KML reader building osmdroid overlays
(icons, polylines, polygons).
Second step could be to handle a more complete KML model, including folder
hierarchy, and allowing CRUD and save operations.
Help and advice will be welcomed.
Original issue reported on code.google.com by [email protected]
on 12 Oct 2013 at 4:52
What steps will reproduce the problem?
1. Create new project with mapActivity
2. Create standard mapView code like in Tutorial step 1
3. try to display route from start and endpoint on map
What is the expected output? What do you see instead?
mapView with displayd route, but I only see the mapView without route.
What version of the product are you using?
libs:
android-support-v4.jar
osmbonuspack_v3.6.jar
osmdroid-android-3.0.10-javadoc.jar
osmdroid-android-3.0.10.jar
slf4j-android-1.5.8.jar
HTC Legends as mobile device
problem exists also on emulators.
Please provide any additional information below.
Code:
package com.example.helloroutedisplay;
import java.util.ArrayList;
import org.osmdroid.bonuspack.routing.OSRMRoadManager;
import org.osmdroid.bonuspack.routing.Road;
import org.osmdroid.bonuspack.routing.RoadManager;
import org.osmdroid.tileprovider.tilesource.TileSourceFactory;
import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.MapController;
import org.osmdroid.views.MapView;
import org.osmdroid.views.overlay.PathOverlay;
import android.os.Bundle;
import android.app.Activity;
public class MainActivity extends Activity {
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
MapView map = (MapView) findViewById(R.id.map);
map.setTileSource(TileSourceFactory.MAPNIK);
GeoPoint startPoint = new GeoPoint(48.13, -1.63);
MapController mapController = map.getController();
mapController.setCenter(startPoint);
mapController.setZoom(9);
RoadManager roadManager = new OSRMRoadManager();
ArrayList<GeoPoint> waypoints = new ArrayList<GeoPoint>();
waypoints.add(startPoint);
waypoints.add(new GeoPoint(48.4, -1.9)); //end point
Road road = roadManager.getRoad(waypoints);
PathOverlay roadOverlay = RoadManager.buildRoadOverlay(road,
map.getContext());
map.getOverlays().add(roadOverlay);
map.invalidate();
}
}
attached picture shows the map activity on emulator without route :(
Original issue reported on code.google.com by [email protected]
on 14 Aug 2013 at 7:04
Attachments:
What steps will reproduce the problem?
1.I have 2 project:
2.project 1:it grabs the route shape overlay in KML structure
3.project 2:it loads my_routes.kml on map
What is the expected output? What do you see instead?
I expected to see the my_routes.kml overlay on my device but it just shown on
emulator . on device it force closed .
What version of the product are you using?
As you recommended me, i use OSMBonusPack v4.2.4, and osmdroid v4.0 .
i test project on galaxy ace with android2.3.6 and and galaxy younge with
android 4.1
Please provide any additional information below.
I copied the my_routes.kml in kml folder on my device
Original issue reported on code.google.com by [email protected]
on 9 Jan 2014 at 6:53
What steps will reproduce the problem?
1. write your own ResourceProxy implementation
2. try to put it into ItemizedOverlayWithBubble
What is the expected output? What do you see instead?
ItemizedIconOverlay has the constructors with ResourceProxy args, but
ItemizedOverlayWithBubble has no one.
What version of the product are you using?
osmdroid-android-3.0.10
osmbonuspack_v34
Original issue reported on code.google.com by [email protected]
on 13 Jun 2013 at 6:34
What steps will reproduce the problem?
1. On the demo app, search for "wikipedia" POI tag, trying to have a lot of POI
shown in the view.
2. Click on a marker choosen in the middle of the "cloud" of POI.
3. Click on the bubble to close it.
There are chances that the bubble of an other POI opens.
The issue is that the click event on the bubble is also received by the
overlays behind, if they implement onSingleTapUpHelper, onSingleTapUp, or
onLongPress (if you long-press on the bubble).
In addition, the projection of the event in the map view is not done properly
(projection done using bubble view coordinates?).
Is it possible to "consume" the event in the bubble?
Is it a bug of osmdroid?
Original issue reported on code.google.com by [email protected]
on 5 Oct 2012 at 8:13
When you create a bubble where the description length is less than the title
lenght, the bubbles width is limited by the description length such that the
only parts of the title is visible.
Anyway, great work! Thanks!
Original issue reported on code.google.com by [email protected]
on 15 Aug 2012 at 9:46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.