Code Monkey home page Code Monkey logo

google-maps's Introduction

Google Maps

Homebrew Google Maps for webOS (javascript API v3)

This application is trying to be a replacement of unsupported Google Maps application for WebOS devices. The application is based on the Google API V3. Development goal is to get all the features available in API on our WebOS devices and a little more, while maintaining compatibility to the oldest devices with WebOS 1.4.5 up to the newest devices like HP Touchpad. The application seeks to offer a simple and clean user interface. If you like this application, you can donate me in "About" menu.

screenshot

Known issues

Google Maps API v3 doesn´t support WebOS - it follows the strange issues:

-> WebOS 1.x and 3.x - API loads the non-touch UI, listen for Mouse events and WebOS fires the MouseEvents - OK

-> WebOS 2.x - API loads the touch UI (upon useragent string), listening for TouchEvents, but WebOS fires MouseEvents, because doesn't support TouchEvents - STRANGE, can't move, zoom or click the map (the user interactions with map is workarounded via Mojo events translated to API call PanBy(), setZoom(), etc... and this is the reason why the map moving is jerky )

-> Pre3 device UI is scaled UP 1.5 times, but the API projection is non-scaled, if user move finger on the scaled-up UI, represents scaled distance in pixels. E.g. the Pre3 physical width is 480px, in scaled UI 320px, swipe from left to right count 320px and sends to the map projection, which is always non-scaled and the map moves only by 320px in 480px wide... the map moves less than user finger. And this causes the issues on Pre3. At this time the app use non-scaled map, where the street names are small, but it is only sane way how to have correct behavior of the map.

Generally, it is very hard to have working app on unsupported device, needs many workarounds, but still better than nothing.

Jan Herman (72ka) (Czech Republic)

google-maps's People

Contributors

72ka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

google-maps's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.