[OpenLayers-Users] OL custom api builder?
Deli Soetiawan
crushfire2004 at gmail.com
Thu Sep 25 21:16:24 EDT 2008
Hi Christopher,
Very much thanks for your answer, it always been helpfull :D
1. okay its my fault (LOL never realize it, i must use Firebug or other JS
debugger from now)
2. i follow example on lite.cfg
3. thanks, i add scale later on the script so i must be forgot to rebuild
the api, but the main problem i think was on "Util is undefined" thing
Yeah i really suck at JS programming, probably i should grab some really
nice book for it (W3Schools tutorial only cover some basic functionality)
Best regards,
Deli Soetiawan
Christopher Schmidt-4 wrote:
>
> 1. Never change what's in [first]. Specifically, you're including
> other classes before Util.js: don't do this. The error message you got
> from this would have been helpful: "OpenLayers.Util is undefined".
> Anyway, if you drop your first to:
>
> [first]
> OpenLayers/SingleFile.js
> OpenLayers.js
> OpenLayers/BaseTypes.js
> OpenLayers/BaseTypes/Class.js
> OpenLayers/Util.js
>
> then it works.
>
> 2. You don't need include and exclude. Just include. Drop the long list
> of excludes.
>
> 3. You forgot to add Control.Scale.
>
> Once I change these things, I get something that seems to work on my
> local system. You have other Javascript problems -- for example, your
> setInterval function tries to call setUrl on a global rssAgents value
> which won't exist at the time it's called -- but at least it works.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
View this message in context: http://www.nabble.com/OL-custom-api-builder--tp19603530p19681045.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list