MapChange
MapChange is an Android app that shows how to extend Google Maps' MapView class to get notifications when the map has been panned, zoomed or both.
Install / Use
/learn @bricolsoftconsulting/MapChangeREADME
MAPCHANGE
What is MapChange?
MapChange is an Android app that shows how to extend Google Maps' MapView class to get notifications when the map has been panned, zoomed or both.
Installation
To setup this project:
-
Download a copy of this code.
-
Edit the
map.xmlfile in/res/layoutto add your Google Maps API Key on this line:android:apiKey="ENTER_GOOGLE_MAPS_API_KEY_HERE"
Usage
Pan, zoom or pinch the map. The app will tell you what you just did (panned, zoomed or both).
Credits
Thanks to Dave Smith for suggesting the use of View.postDelayed instead of a timer so the change events are not launched on the timer's background thread. His wonderful suggestion has been incorporated in this code.
Thanks to Tobias for his patch to support map zooming via double tap.
Copyright
Copyright 2012 Bricolsoft Consulting
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Related Skills
node-connect
338.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.4kCommit, push, and open a PR
