Is there way to move wpt

Started by dkxce, November 27, 2014, 08:15:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dkxce

Hello.

Is there way to move (change lat & lon) of existing (added) waypoint?



For example:



i = new android.content.Intent("com.oruxmaps.VIEW_MAP_ONLINE");

double[] targetLat = {55.46, 55.14};

double[] targetLon = {37.49, 37.18};

String[] targetNames = {"Point 1", "Point 2"};

i.putExtra("targetLat",targetLat);

i.putExtra("targetLon",targetLon);

i.putExtra("targetName",targetNames);

startActivity(i);



...



i = new android.content.Intent("com.oruxmaps.VIEW_MAP_ONLINE");

i.putExtra("newLat",55.48);

i.putExtra("newLon",37.50);

i.putExtra("targetName","Point 1");

startActivity(i);



...



i = new android.content.Intent("com.oruxmaps.VIEW_MAP_ONLINE");

i.putExtra("newLat",55.48);

i.putExtra("newLon",37.50);

i.putExtra("targetName","Point 2");

startActivity(i);

orux

#1
Quote from: "dkxce"Hello.

Is there way to move (change lat & lon) of existing (added) waypoint?



For example:



i = new android.content.Intent("com.oruxmaps.VIEW_MAP_ONLINE");

double[] targetLat = {55.46, 55.14};

double[] targetLon = {37.49, 37.18};

String[] targetNames = {"Point 1", "Point 2"};

i.putExtra("targetLat",targetLat);

i.putExtra("targetLon",targetLon);

i.putExtra("targetName",targetNames);

startActivity(i);



...



i = new android.content.Intent("com.oruxmaps.VIEW_MAP_ONLINE");

i.putExtra("newLat",55.48);

i.putExtra("newLon",37.50);

i.putExtra("targetName","Point 1");

startActivity(i);



...



i = new android.content.Intent("com.oruxmaps.VIEW_MAP_ONLINE");

i.putExtra("newLat",55.48);

i.putExtra("newLon",37.50);

i.putExtra("targetName","Point 2");

startActivity(i);


Hi,



sorry, but there isn't.



A new wpt is created if you try that code,





orux