开发者

set icon size of a maker icon in a GMapPanel, ExtJS

is there a way to set the size of a marker icon on a GMapPanel in extjs? Im trying to display a map with thumbnail images on the map but the images are loading full size and i want it to display small开发者_如何学JAVA thumbnails instead.


had to setup a resizing function to resize the image by adding a default icon size to the image url.

/content/image.png?height=50&width=50

then i took the image and created a thumbnail size version and used the thumbnail image as the marker.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜