On Wed, 3 Nov 2010 10:12:24 +0900 [박상호] <[email protected]> said:

i agree - a plugin arch is a bit better - elm has modules already (its demo one
is for entry popup menu - we can move osm map data fetching to a module and
then make a google map data one as well and then runtime (and compile-time)
this can be configured). i actually think there is room for 3 modules.

1. OSM
2. google maps
3. "local files" (basically pre-define a directory/file hierarchy and file
naming scheme for storing map tiles and just allow the user to point to the
base dir - possibly useful for many things).

sure - more modules can be added over time, but the above ones would cover most
uses (and well we have other on-line map data sources too - so osm, google maps
etc. style modules can be added until the cows come home).

though i do agree with jonathan - having a way to provide a custom map fetcher
of your own FROM the app (ie register callbacks that begin a map tile fetch,
get told what map tile is needed at what zoom level and then how they can
trigger elm map's "tile is ready now" code etc.).

> yes, we have to check google license.
> 
> I think .. plug-in architecture is better than elm_map_source_custom_*.
> because if you use custom api, you should modify elm_map.c directly and
> compile again.
> I don't want to compile elm_map for making map app.
> 
> 2010/11/3 Atton Jonathan <[email protected]>
> 
> > If I m remember correctly when I have tested Google I have used a different
> > API, maybe your API is working.
> >
> >  if it is working  we need to know the list of map sources :
> > - we can use freely and add them in the library elementary.
> > - which requires a license and maybe we can add them in elementary_test
> > with a disclaimer. We can add a source with elm_map_source_custom_*. This
> > way people will know we can do it but you need a license.
> > What do you think about this solution ?
> >
> > 2010/11/2 Atton Jonathan <[email protected]>
> >
> > I can't test right now but :
> >> - Have you tested with zoom in - zoom out  ?
> >> - Have you tested the boundaries of the map ?
> >>
> >>
> >> Sse :
> >> You embed a Static Maps API image within a webpage inside an <img> tag's
> >> src attribute. When the webpage is displayed, the browser requests the
> >> image from the the Static Maps API and it renders within the image
> >> location. Note that static maps may only be displayed within browser
> >> content; use of static maps outside of the browser is not allowed. (Google
> >> Maps API Premier <http://code.google.com/apis/maps/documentation/premier/>
> >> users are waived of this requirement.)
> >> source :
> >> http://code.google.com/intl/fr/apis/maps/documentation/staticmaps/#Limits
> >>
> >> Do not commit your code.
> >>
> >> 2010/11/2 [박상호] <[email protected]>
> >>
> >>  hi,
> >>>
> >>> I found google map repository on maemo talk.
> >>> http://talk.maemo.org/showthread.php?t=5209
> >>> so I've tested google map using elm_map like below.
> >>> it works fine. very good performance...
> >>>
> >>> > static char *
> >>> > _google_street_url_cb(void *data, int x, int y, int zoom)
> >>> > {
> >>> >    char buf[PATH_MAX];
> >>> >    snprintf(buf, sizeof(buf), "
> >>> http://mt1.google.com/vt/hl=en&x=%d&y=%d&z=%d";,
> >>> >             x, y, zoom);
> >>> >    return strdup(buf);
> >>> > }
> >>> >
> >>> > static char *
> >>> > _google_satellite_url_cb(void *data, int x, int y, int zoom)
> >>> > {
> >>> >    char buf[PATH_MAX];
> >>> >    snprintf(buf, sizeof(buf), "
> >>> http://khm2.google.com/kh/v=46&x=%d&y=%d&z=%d";,
> >>> >             x, y, zoom);
> >>> >    return strdup(buf);
> >>> > }
> >>>
> >>> can I check-in this code to elm_map.c?
> >>> is there any problem?
> >>>
> >>> ------------------------------------------------------------------------------
> >>> Nokia and AT&T present the 2010 Calling All Innovators-North America
> >>> contest
> >>> Create new apps & games for the Nokia N8 for consumers in  U.S. and
> >>> Canada
> >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> >>> marketing
> >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> >>> http://p.sf.net/sfu/nokia-dev2dev
> >>> _______________________________________________
> >>> enlightenment-devel mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>>
> >>
> >>
> >>
> >> --
> >> Regards.
> >>
> >
> >
> >
> > --
> > Regards.
> >
> ------------------------------------------------------------------------------
> Achieve Improved Network Security with IP and DNS Reputation.
> Defend against bad network traffic, including botnets, malware, 
> phishing sites, and compromised hosts - saving your company time, 
> money, and embarrassment.   Learn More! 
> http://p.sf.net/sfu/hpdev2dev-nov
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to