Powered by Jitbit AspNetForum free trial version.
home recent topics recent posts search register faq   AspNetForum v.4.7.0.0

 AfriGIS MapServer JavaScriptAPI :: Forum

user:
psw:
| lost password
Home » JavaScriptAPI - General » Linking script to the page. Messages in this topic - RSS
8/26/2009 7:42:28 PM
jaredfish
Posts 2
Okay, so I was wondering how the script tag now loads the javascript for the API?

<script type="text/javascript" language="javascript" src="http://YOUR_URL/loadjsapi/?key=YOUR_API_KEY&version=API_VERSION"></script>

That line (according to the getting started) would not link to afrigis at all - so how is the javascript meant to be loaded?
9/11/2009 8:32:10 AM
iaan
iaan
Posts 2
Hi

You cannot host the API on your own server.
9/11/2009 5:13:05 PM
jaredfish
Posts 2
iaan wrote:
Hi

You cannot host the API on your own server.


I understand that I cannot host it on my server. That is not my question. My question is how on earth does the line

<script type="text/javascript" language="javascript" src="http://YOUR_URL/loadjsapi/?key=YOUR_API_KEY&version=API_VERSION"></script>

know that the API is on the afriGIS server? Nowhere in the 'src ' does it link back to afriGIS...
edited by jaredfish on 9/11/2009
pages: 1
|

Home » JavaScriptAPI - General » Linking script to the page.