<div>My personal workspace definitely will use local libs, I'm way to often on a train... :) If I have to have a separate directory for such demos, I'd be happy with it for now. Altough I'd put it in gitignore. Of course, once there will be a downloadable tarball/zip from a nice mapQuery website the included demos _must_ work out of the box after the download. As for offline maps - maybe we should gather something for a nice demo area including Tilesets, GML, KML, etc.? I find too often that relying on online services fires back when these services move or are offline.</div>
<div><br></div><div>As for resources (css, images) - everything we need to provide ourselves - e.g. can't be taken from jQuery UI like a nice wrench icon for a configure button - should live inside the src folder. Probably one css file (mapquery.css?) with sections for each widget and all images inside a src/images folder?</div>
<div><br></div><div>Offline demo maps could live inside demo/data/...</div><div><br></div><div>How does that sound? </div><div><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 3:20 PM, Anne Blankert <span dir="ltr"><<a href="mailto:anne.blankert@geodan.nl">anne.blankert@geodan.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello All,<br>
<br>
About allowing offline work: then there should also be a data directory<br>
for offline maps?<br>
My idea was that DEMO's could have an online reference, WORK files not<br>
necessarily.<br>
In a train it will also be difficult to download the libs for local use.<br>
In case you have taken the trouble of downloading the libs before<br>
entering the train, you could also consider changing the reference to<br>
the offline libs in the demos?<br>
<br>
Somewhere in the future there should be a mapquery website that<br>
includes the demo's online. Once those are available, there would be no<br>
need for downloaded demo's that work out of the box.<br>
<br>
Another thing:<br>
Some of the widgets to be will probably need (default) icons or other<br>
images. Where will these be stored?<br>
<font color="#888888"><br>
Anne<br>
</font><div><div></div><div class="h5"><br>
On 11/12/2010 2:26 PM, Volker Mische wrote:<br>
> Hi,<br>
><br>
> On 11/12/2010 12:29 PM, Anne Blankert wrote:<br>
>> In the newly proposed and improved directory layout, the demo's now<br>
>> reference external libs like <script src="../lib/...></script><br>
>> I believe it is a good thing if demo's work out of the box, no<br>
>> additional readme's, install.txt or conversions of .sh to .bat,<br>
>> downloads etc.<br>
>><br>
>> Is there a good reason for the demo's not to reference online libraries?<br>
>><br>
>> So instead of:<br>
>> <script src="../lib/openlayers/OpenLayers.js"<br>
>> type="text/javascript"></script><br>
>> <script src="../lib/jquery/jquery-1.4.3.js"<br>
>> type="text/javascript"></script><br>
>> <script src="../lib/jquery/ui/jquery-ui.js"<br>
>> type="text/javascript"></script><br>
>><br>
>> Maybe use:<br>
>> <script type="text/javascript"<br>
>> src="<a href="http://openlayers.org/api/2.10/OpenLayers.js" target="_blank">http://openlayers.org/api/2.10/OpenLayers.js</a>"></script><br>
>> <script type="text/javascript"<br>
>> src="<a href="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" target="_blank">http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js</a>"></script><br>
>> <script type="text/javascript"<br>
>> src="<a href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" target="_blank">http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js</a>"></script><br>
>><br>
>> ?<br>
>><br>
>> From the version numbers in the path names to the libs, users can see<br>
>> with wich version of the external libs MapQuery is supposed to work.<br>
>><br>
>> Anne<br>
>><br>
> I'm not sure about it. I know, often demos need an internet connection<br>
> (e.g. for a WMS), though I'd like to get them work offline as well. We<br>
> could use static files as baselayer (as TMS e.g.) and have them work<br>
> completely offline.<br>
><br>
> I had the situation that I wanted to do some MapQuery/OpenLayers coding<br>
> in the train, an the best resource are the demos. But without internet<br>
> they are not that useful.<br>
><br>
> Therefore I prefer the bundle version (and not referencing the JS libs<br>
> through the web). You only need to download it once and you are set.<br>
><br>
> Cheers,<br>
> Volker<br>
<br>
<br>
</div></div><div class="im">--<br>
Drs. Anne Blankert<br>
Geodan Systems & Research<br>
President Kennedylaan 1<br>
1079 MB Amsterdam (NL)<br>
=========================<br>
Tel: +31 (0)20 - 5711 311<br>
Fax: +31 (0)20 - 5711 333<br>
=========================<br>
E-mail: <a href="mailto:anne.blankert@geodan.nl">anne.blankert@geodan.nl</a><br>
Website: <a href="http://www.geodan.nl" target="_blank">www.geodan.nl</a><br>
Disclaimer: <a href="http://www.geodan.nl/disclaimer" target="_blank">www.geodan.nl/disclaimer</a><br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
MapQuery mailing list<br>
<a href="mailto:MapQuery@lists.osgeo.org">MapQuery@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapquery" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapquery</a><br>
</div></div></blockquote></div><br></div>