i have a site which displays a map and also displays dots dynamilcaly on that map.i want to zoom this map with dots..
any body can tell me any zooming algorithm
about zoom
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
it's simple scaling, overall.. depending on if you want it "smoothed" then you have to add bilinear filtering or better yet trilinear filtering.. but each of those takes a bit more time for the machine to build.. almost exponentially so.. sorta..
thats of course, if you want to do it yourself.. you could just ask [php_man]imagecopyresampled[/php_man] to blow it up, then some simple 2D scaling to relocate the pins..
thats of course, if you want to do it yourself.. you could just ask [php_man]imagecopyresampled[/php_man] to blow it up, then some simple 2D scaling to relocate the pins..