On Wed, 11 Jan 2012 12:27:12 +0900 Bluezery <ohpo...@gmail.com> said:

in svn! :) thanks! :)

> Thanks~!
> 
> I changed the name
> elm_map_convert_canvas_into_geo() --> elm_map_canvas_to_geo_convert()
> 
> And I deprecate elm_map_utils_rotate_coord() function.
> Instead recommend elm_map_canvas_to_geo_convert() to use in doc.
> Acutally, rotation is not needed to know.
> Please review again :D
> 
> 2012/1/11 Carsten Haitzler <ras...@rasterman.com>:
> > On Mon, 9 Jan 2012 17:28:21 +0900 Bluezery <ohpo...@gmail.com> said:
> >
> > sorry - been busy for the past week or so and havent had time to deal with
> > my backlog. i'm onto it now.
> >
> > comment:
> >  elm_map_convert_canvas_into_geo()
> > -> should rename to be more efl strict oo like:
> >  elm_map_canvas_to_geo_convert()
> >
> > while i'm at it:
> >  elm_map_utils_rotate_coord()
> > should be
> >  elm_map_utils_coord_rotate()
> >
> > could you fix this? :)
> >
> >> After consideration, I think that elm_map_utils_size_get() and
> >> elm_map_utils_region_get() is not needed for users. because only
> >> functions related to geographic coordinates are only concern of users.
> >> And converting func. from canvas to geo is needed for finding exact
> >> geo-coordinates in canvas area.
> >> So, I have modified patches.
> >>
> >> Anyway, no one may interested in elm_maps...
> >> Please review this patch....plz...
> >>
> >> 2012/1/2 Bluezery <ohpo...@gmail.com>:
> >> > Hi,
> >> >
> >> > In my point of view, elm_map did not consider zooming & rotation by
> >> > using Evas_Map initially.
> >> > There are no problems if you use only elm_map_zoom_set(). But if you
> >> > use pinch gesture or wheel to do subtle zooming & rotating, the
> >> > calculations of coordinates are not correct currently.
> >> >
> >> > I have fixed these problem and also made some utility APIs for user
> >> > convenience. I made following 3 APIs.
> >> > 1. elm_map_utils_size_get()
> >> > Currently users can only get integer zoom level by using elm_map_zoom_get
> >> > (). So if user want to calculate full map size, user should calculate
> >> > pow(2.0, zoom level) * tile size.  Furthermore, user assumes tile size
> >> > as 256. (tile size can be changed!!)
> >> > Also it's not correct sometimes because Evas_map is used for subtle
> >> > zooming between zoom levels.
> >> > Above APIs return correct full map size.
> >> >
> >> > 2. elm_map_utils_region_get()
> >> > It can used for getting left top coordinates, center coordinates and
> >> > width, height of currently shown map area.
> >> >
> >> > 3. elm_map_utils_convert_canvas_into_geo()
> >> > Currently it is hard to converting x, y coordinates to geographical
> >> > longitude, latitude because of subtle zooming & rotating.
> >> > If use wants to get it, user uses combination of above functions and
> >> > more. It is harsh job.
> >> > This function is used for getting longitude, latitude from x, y
> >> > coordinates of current viewport.
> >> >
> >> > Test application can be brief by using above functions .
> >> >
> >> > Please review this patch.
> >> >
> >> > --
> >> > BRs,
> >> > Kim.
> >>
> >>
> >>
> >> --
> >> BRs,
> >> Kim.
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >
> 
> 
> 
> -- 
> BRs,
> Kim.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to