[ka-Map-users] cross domain

Paul Spencer pspencer at dmsolutions.ca
Thu Mar 22 05:52:36 EST 2007


Ben,

This is a legitimate problem.  The problem occurs when kaMap tries to  
call its initialization code on the server (init.php).  We have some  
code in testing right now that replaces the use of XmlHttpRequest  
with script tag insertion.  We hope to add it to the cvs version soon.

Cheers

Paul

On 22-Mar-07, at 5:02 AM, Ben Kuek wrote:

>
> Hi,
>
> Is it possible to use kamap like how we use google's API?
>
> I have a modified kamap being served on boxA <http://boxA/maps/>  
> that contains the init.php, .js etc
>
> I am serving a html on boxB <http://boxB/test.html>. Within it, I  
> include tags
> that references the .js files from boxA as below:
>
> ....
> <script type="text/javascript" src="http://boxA/maps/ 
> Get_All_JS.php"></script>
> ....
> myKaMap.server = "http://boxA/maps/";
> ....
>
>
> I am getting "permission denied to call method XMLHttpRequest.open"  
> in F1refox browsers.
> In IE6, I'm getting an incomplete kamap once I click yes to accept  
> security risk.
>
> What would be best for me to do to get around it?
>
> Many thanks
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                          pspencer at dmsolutions.ca    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list