I doubt it is anything you are doing wrong.. sadly at the moment I
have noticed a few issues with my javascript function for saving
images. At the moment I am using the saveFile function in the
TiddlyWiki core but it doesn't seem to always work which is quite
frustrating. I know for a fact it will not work in Internet Explorer
and that it will work on a Mac with Firefox or Safari.

What *should* happen is when you view a location, it will pull down an
image for the 4 tiles from the web and save in a local folder. IT will
save them in a directory structure as follows:

$ROOT/slippy/zoomLevel/X/Y.png

For instance http://tile.openstreetmap.org/1/0/0.png which shows the
tile with X = 0 Y = 0 at zoom level 1 will be pulled into the
directory
$ROOT/slippy/1/0/0.png

So if for some reason at the moment your images are not caching then
you will also notice these directories haven't been created. In the
mean time while I work out how to solve this problem cross browser you
could manually save the files you need as annoying as this is.

I see you can also deploy your own map server - I'm not such how many
megabytes the whole world is however (hopefully enough for your usb
stick), but if you're really interested it's worth looking at (I
haven't done so yet):
http://wiki.openstreetmap.org/index.php/Deploying_your_own_Slippy_Map

In terms of your truckdriving use case this sounds really interesting.
I'm quite keen to see if there is anyway to sync a tiddlywiki with a
GPS device so that it can always shows your geo location and thus any
surrounding tiddlers- could be useful for you here!

I will revisit the javascript saving and let you know if I find
anything obvious. If any developers reading this post have some ideas
will be interested in your thoughts...!
Jon

On Feb 10, 10:16 am, MobileLibrary <[email protected]> wrote:
> hi Jon,
> you keep coming up with the things i was looking for in using my
> tiddlywiki as a website! I know you're talking about offline maps - so
> i'll start with that. I'm a truckdriver in europe, for me this
> geotiddly would come in very useful to mark eating and parking places
> and quickly put some useful info about day-trips in cities where i'd
> have a day off, so great!
> for my site i would love to be able to geotag my tiddlers, use your
> macro geogotobutton in the toolbar and display the point on the map
> that the tiddler is talking about. Also, having a map that displays
> where I am with the van (my site is about a travelling library).
> could you explain a bit more about how to get and use the
> openstreetmap and google pictures as overlay? I downloaded your
> example wiki but i got  the message that the map was saved, went
> offline and it didn't display.. must be doing something wrong but i
> couldnt figure out what...
> thank you, again!
> ML
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to