Initialize the center of the Map item
authorFabian Bumberger <fbumberger@rim.com>
Fri, 15 Nov 2013 07:27:38 +0000 (08:27 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 15 Nov 2013 17:07:35 +0000 (18:07 +0100)
commit418295d306e31b6055ec526111c253a8249a207f
treefff75ceaa1e7d29c33b1d04a0540b5443babc493
parent55494d3915dffd49ebda13fbf243b16620218cb8
Initialize the center of the Map item

Center is initialized with center (latitude and longitude) being NAN.
Without initializing the center the Map item is not useable (navigation is not working)
and it sometimes crashes.

Change-Id: I708e9f0efd05ee0b3ed0ebc0f0cac818b6185c12
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/imports/location/qdeclarativegeomap.cpp