Hi, I am trying to overlay live highway information as an image on a map24 map of bay area but the overlay does not seem to work correctly.Does anyone have any suggestions? I am really lost. Thank you, Shawn. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080625/89837ab4/attachment.htm>
Dear Shawn, I can easily see your problem. If you look at Line 492 of your code, you should have written... ;p Perhaps the List will find it easier to help you if you were to post some code or a URL to your code, rather than leaving us to guess what you''ve written! Andy. Shankhadeep Sen wrote:> Hi, > > I am trying to overlay live highway information as an image on a map24 > map of bay area but the overlay does not seem to work correctly.Does anyone > have any suggestions? I am really lost. > > Thank you, > > Shawn. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
Hi Andrew,
Thanks for the email.But I looked in the mapstraction code
and there was no implementation of the addImageOverlay for map24.So,I have
written a patch to fix this.The co-ordinate transformation may not be
correct in my code.Maybe someone can help correct this.Heres the patch.Just
change this in mapstraction.js
case ''map24'':
this.addMap24Overlay(b);
this.setImageOpacity(id, opacity);
break;
Thanks,
Shawn.
On Thu, Jun 26, 2008 at 12:23 AM, Turner, Andy <a.turner06 at
imperial.ac.uk>
wrote:
> Dear Shawn,
>
> I can easily see your problem. If you look at Line 492 of your code, you
> should have written... ;p
>
> Perhaps the List will find it easier to help you if you were to post some
> code or a URL to your code, rather than leaving us to guess what
you''ve
> written!
>
>
> Andy.
>
>
> Shankhadeep Sen wrote:
>
>> Hi,
>>
>> I am trying to overlay live highway information as an image on a
map24
>> map of bay area but the overlay does not seem to work correctly.Does
>> anyone
>> have any suggestions? I am really lost.
>>
>> Thank you,
>>
>> Shawn.
>>
>>
>>
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mapstraction mailing list
>> Mapstraction at lists.mapstraction.com
>>
http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080626/b0d8af76/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapstraction_map24_overlaypatch.js
Type: application/x-javascript
Size: 1512 bytes
Desc: not available
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080626/b0d8af76/attachment.js>
Hi All,
I corrected the patch and here is the updated version.
Thanks,
Shawn.(Sankhadip)
On Thu, Jun 26, 2008 at 9:19 PM, Shankhadeep Sen <shanks.iit at gmail.com>
wrote:
>
> Hi Andrew,
>
> Thanks for the email.But I looked in the mapstraction code
> and there was no implementation of the addImageOverlay for map24.So,I have
> written a patch to fix this.The co-ordinate transformation may not be
> correct in my code.Maybe someone can help correct this.Heres the
patch.Just
> change this in mapstraction.js
>
> case ''map24'':
> this.addMap24Overlay(b);
> this.setImageOpacity(id, opacity);
> break;
>
> Thanks,
>
> Shawn.
>
>
> On Thu, Jun 26, 2008 at 12:23 AM, Turner, Andy <a.turner06 at
imperial.ac.uk>
> wrote:
>
>> Dear Shawn,
>>
>> I can easily see your problem. If you look at Line 492 of your code,
you
>> should have written... ;p
>>
>> Perhaps the List will find it easier to help you if you were to post
some
>> code or a URL to your code, rather than leaving us to guess what
you''ve
>> written!
>>
>>
>> Andy.
>>
>>
>> Shankhadeep Sen wrote:
>>
>>> Hi,
>>>
>>> I am trying to overlay live highway information as an image on a
map24
>>> map of bay area but the overlay does not seem to work
correctly.Does
>>> anyone
>>> have any suggestions? I am really lost.
>>>
>>> Thank you,
>>>
>>> Shawn.
>>>
>>>
>>>
>>>
------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Mapstraction mailing list
>>> Mapstraction at lists.mapstraction.com
>>>
http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
>>>
>>
>>
>
>
>
>
>
--
Sankhadip Sengupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080627/0ae4b306/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapstraction_map24_overlaypatch.js
Type: application/x-javascript
Size: 1635 bytes
Desc: not available
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080627/0ae4b306/attachment.js>