It's okay, i resolved my problem. I wanted to draw a rectangle with
your new method Poly but i found another solution which works
perfectly ! I used the same syntax to draw circle with the function
placeMarker but i used the method from HTML5 context.fillRect instead
of context.arc. Here is my code :
return T5.ex(new T5.Marker(params), {
drawMarker: function(context, offset, x, y, state, overlay,
view) {
context.fillStyle = "rgba(30, 30, 30, 0.4)"
context.beginPath();
context.fillRect(
x,
y,
width,
height
);
}
});
On 4 déc, 13:59, Damon Oehlman <
damon.oehl...@gmail.com> wrote:
> Hi Marion,
>
> Is there somewhere you can post the code so I could take a look?
>
> Sure we could definitely do something with circles as well. I'm guessing
> the best way to specify the circle would be to specify the centre position
> (latitude and longitude) and then a radial distance (km). This way the
> circle would be displayed correctly on any zoom level. I'll have a look
> sometime next week and let you know.
>
> Cheers,
> Damon.
>
> On Sat, Dec 4, 2010 at 8:31 PM, Marion Guthmuller <
>