[OpenLayers-Users] Javascript problem

Pierre GIRAUD bluecarto at gmail.com
Tue Apr 8 11:54:24 EDT 2008


Can you try the patch attached to the ticket I just opened for this issue ?
http://trac.openlayers.org/ticket/1502

Regards,
Pierre

On Tue, Apr 8, 2008 at 5:32 PM, Pierre GIRAUD <bluecarto at gmail.com> wrote:
> I took a quick look at your problem by trying to load the ViaMichelin
>  API beside OpenLayers (in lite.html example).
>  An error is raised in Events.js where OpenLayers tries to call push()
>  on an array.
>
>  But it seems that the ViaMichelin API modifies/extends the Array
>  prototype to provide a new "ci" function (bad! bad!).
>
>  This is a quick investigation and I have no workaround at the moment.
>
>  Regards,
>  Pierre
>
>
>
>
>  On Tue, Apr 8, 2008 at 5:13 PM, Alexandre Gacon
>  <alexandre.gacon at gmail.com> wrote:
>  > Hello,
>  >
>  > I am trying to develop a new Layer based on the service provided by
>  > ViaMichelin. My problem is the following : as soon as I include the
>  > reference to the JavaScript API of ViaMichelin (accessible via <script
>  > src="http://api.viamichelin.com/apijs/js/api.js"></script>), OpenLayers does
>  > not work anymore, even if I do not use my ViaMichelin Layer.
>  >
>  > I took the google example and just added the script line : the google
>  > example do not work anymore.
>  >
>  > If anyone has an idea, it would be great.
>  >
>  > Alexandre
>  >
>  >
>  >
>  > _______________________________________________
>  >  Users mailing list
>  >  Users at openlayers.org
>  >  http://openlayers.org/mailman/listinfo/users
>  >
>  >
>



More information about the Users mailing list