Registered Member
|
Any help on this: ASSERT: "last < m_placemarkModel.rowCount()" in file ..\..\..\..\src\lib\marble\PlacemarkLayout.cpp, line 271
Code marble = new Marble::MarbleWidget(this); this->ui.horizontalLayout_4->addWidget(marble); marble->setProjection(Marble::Mercator); marble->setMapThemeId("earth/openstreetmap/openstreetmap.dgml");// marble->setCenterLatitude(qreal(29.604411)); marble->setCenterLongitude(qreal(-98.529422)); marble->setDistance(1); marble->setShowPlaces(true); Marble::GeoDataDocument *document = new Marble::GeoDataDocument; Marble::GeoDataPlacemark* wa = new Marble::GeoDataPlacemark("WellAware"); document->append(wa); wa->setCoordinate(29.604411, -98.529422, 0.0, Marble::GeoDataCoordinates::Degree); marble->model()->treeModel()->update(); Thanks! |
KDE Developer
|
I agree it shouldn't crash on that call, but don't you want to run this instead of update()?
|
Registered Member
|
Yes, at one point I had that code, but i guess accidentally removed it.
But my core problem presets, once added I don't see the Placemark visible on the map. Shouldn't it be? |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]