mapsforge bridge
This commit is contained in:
parent
61ce13ca33
commit
ebd9305528
3 changed files with 3 additions and 3 deletions
|
@ -168,7 +168,7 @@ public final class MicroCache2 extends MicroCache
|
||||||
if ( !isReverse ) // write geometry for forward links only
|
if ( !isReverse ) // write geometry for forward links only
|
||||||
{
|
{
|
||||||
WaypointMatcher matcher = wayTags == null || wayTags.accessType < 2 ? null : waypointMatcher;
|
WaypointMatcher matcher = wayTags == null || wayTags.accessType < 2 ? null : waypointMatcher;
|
||||||
if ( matcher != null ) matcher.startNode( ilon, ilat );
|
if ( matcher != null ) matcher.startNode( ilon, ilat, wayTags.data );
|
||||||
int ilontarget = ilon + dlon_remaining;
|
int ilontarget = ilon + dlon_remaining;
|
||||||
int ilattarget = ilat + dlat_remaining;
|
int ilattarget = ilat + dlat_remaining;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ package btools.codec;
|
||||||
*/
|
*/
|
||||||
public interface WaypointMatcher
|
public interface WaypointMatcher
|
||||||
{
|
{
|
||||||
void startNode( int ilon, int ilat );
|
void startNode( int ilon, int ilat, byte[] wayTags );
|
||||||
void transferNode( int ilon, int ilat );
|
void transferNode( int ilon, int ilat );
|
||||||
void endNode( int ilon, int ilat );
|
void endNode( int ilon, int ilat );
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,7 @@ public final class WaypointMatcherImpl implements WaypointMatcher
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void startNode( int ilon, int ilat )
|
public void startNode( int ilon, int ilat, byte[] wayTags )
|
||||||
{
|
{
|
||||||
lonLast = lonStart = ilon;
|
lonLast = lonStart = ilon;
|
||||||
latLast = latStart = ilat;
|
latLast = latStart = ilat;
|
||||||
|
|
Loading…
Reference in a new issue