[MapQuery] Directory layout + external libs in Git repo
volker.mische at gmail.com
Fri Nov 12 08:26:55 EST 2010
On 11/12/2010 12:29 PM, Anne Blankert wrote:
> In the newly proposed and improved directory layout, the demo's now
> reference external libs like <script src="../lib/...></script>
> I believe it is a good thing if demo's work out of the box, no
> additional readme's, install.txt or conversions of .sh to .bat,
> downloads etc.
> Is there a good reason for the demo's not to reference online libraries?
> So instead of:
> <script src="../lib/openlayers/OpenLayers.js"
> <script src="../lib/jquery/jquery-1.4.3.js"
> <script src="../lib/jquery/ui/jquery-ui.js"
> Maybe use:
> From the version numbers in the path names to the libs, users can see
> with wich version of the external libs MapQuery is supposed to work.
I'm not sure about it. I know, often demos need an internet connection
(e.g. for a WMS), though I'd like to get them work offline as well. We
could use static files as baselayer (as TMS e.g.) and have them work
I had the situation that I wanted to do some MapQuery/OpenLayers coding
in the train, an the best resource are the demos. But without internet
they are not that useful.
Therefore I prefer the bundle version (and not referencing the JS libs
through the web). You only need to download it once and you are set.
More information about the MapQuery