Hi Angus,
Which version of Mapstraction are you using here?
Thanks,
Derek
On 8 April 2013 22:33, Angus Henderson <ahenderson at
immersivemedia.com>wrote:
> I noticed that (on bing & google) if you set the marker size different
to
> the image used on the marker the image doesnt scale.
>
> It does with the OSM based API''s however.
>
> It looks like bing doesnt support marker scale in their API but if you
> change the google Marker toProprietary function to use the iconSize twice,
> google starts doing the right thing.
>
> ie from..
>
> options.icon = new google.maps.MarkerImage(
> this.iconUrl,
> new google.maps.Size(this.iconSize[0], this.iconSize[1]),
> new google.maps.Point(0, 0),
> gAnchorPoint
> );
>
>
> ..to
>
> options.icon = new google.maps.MarkerImage(
> this.iconUrl,
> new google.maps.Size(this.iconSize[0], this.iconSize[1]),
> new google.maps.Point(0, 0),
> gAnchorPoint,
> new google.maps.Size(this.iconSize[0], this.iconSize[1])
> );
>
>
> Angus
>
> _______________________________________________
> Mapstraction mailing list
> Mapstraction at lists.mapstraction.com
> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
>
>
--
Derek Fowler
m. +44 (0) 7966 512 369
e. dezfowler at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20130415/597589d4/attachment.htm>