... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
modified routeconverter.html
#3
(31.05.2010, 13:16)hvdwolf Wrote: I updated the routeconverter.html to display better in Linux and MacOSX. As I don't know yet how you want your patches/diffs delivered,

I prefer unified diff patches.

(31.05.2010, 13:16)hvdwolf Wrote: and the svn checkout resulted in an error,

If the error was that an svn:external reference could not be followed: ignore it. It's a private repository of test files that is only needed for integration tests.

(31.05.2010, 13:16)hvdwolf Wrote: What does it solve (at least for me):
[..]
Note: I did not test on windows as that's my "work" laptop and doesn't contain jar.

Good work. Basically it was just one line

Quote:--- mapview/src/main/resources/slash/navigation/converter/gui/mapview/routeconverter.html (revision 1739)
+++ mapview/src/main/resources/slash/navigation/converter/gui/mapview/routeconverter.html (revision )
@@ -15,7 +15,7 @@
ondragenter="return false;" ondragover="return false;"
ondrop="return false;">
<div id="error"></div>
-<div id="map"></div>
+<div id="map" style="position:absolute; top:0px;left:0px; width: 99%; height: 99%;"></div>
<div id="directions"></div>
<script type="text/javascript">
function getTileUrlMapnik(a, b) {

and it works on Windows, too.

(31.05.2010, 13:16)hvdwolf Wrote: Edit:
- I added the new 3D zoomslider. You can set that back to the old 2D one off course.
- I set the new startpoint of the map to Greenwich.
- I set the initial zoomlevel to 3 instead of 2. 2 is too far zoomed out and gives only a partial map with coordinates problems.

That was:

map.addControl(new GLargeMapControl3D());
map.setCenter(new GLatLng(52.47, 5.1), 3);

I'm unsure about these changes. I intentionally choose the coordinates such that America and Europe are visible. And the 3D slider looks nice but if different from the look of the map type chooser.
--
Christian
Reply


Messages In This Thread
modified routeconverter.html - by hvdwolf - 31.05.2010, 13:16
RE: modified routeconverter.html - by hvdwolf - 31.05.2010, 19:37
RE: modified routeconverter.html - by routeconverter - 01.06.2010, 07:22
RE: modified routeconverter.html - by hvdwolf - 01.06.2010, 10:29
RE: modified routeconverter.html - by hvdwolf - 01.06.2010, 12:59
RE: modified routeconverter.html - by hvdwolf - 01.06.2010, 19:28
RE: modified routeconverter.html - by hvdwolf - 02.06.2010, 07:57
RE: modified routeconverter.html - by hvdwolf - 02.06.2010, 17:14
RE: modified routeconverter.html - by hvdwolf - 03.06.2010, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)