01.06.2010, 07:22
(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
Christian
