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 <jonathan.at...@gmail.com> > 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 <jonathan.at...@gmail.com> > > 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 [박상호] <gouach...@gmail.com> >> >> 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 >>> enlightenment-devel@lists.sourceforge.net >>> 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel