Implement onMapChanged JNI callback