We need a way of selecting multiple pins on a Bing map using mouse click-and-drag functionality.
The pins represent businesses.
There may be zero or many pins in any given map area.
The pins will not be draggable.
Clicking on a pin will select that pin only.
However, multiple pins needs to be selected in a quick/simple manner for the user.
Clicking and dragging across multiple pins; there needs to be a way of selecting multiple pins on mass. The existing way of doing this was with something called "Dev Express" which allowed for click-and-drag of a rectangle across multiple pins, which would cause the selection of all corresponding pins.
For us, it's an intended integration of a Bing map into an Oracle CRM product.
The customer uses Bing, and is moving from a proprietary system for which we don't have access to their code.
Image of click-and-drag in existing system:
The new system hasn't been developed yet - but the developers have queried the 'click and drag' requirement based on the available Bing Mapping API.
Related
We are trying to create automated tests for Mapbox's Maps SDK for Android based native mobile application. The automated tests need to determine the number of markers present on the screen, the number of marker clusters present on the screen, click on marker or cluster etc.
When looking at the Mapbox maps on Android application through UIAutomatorViewer or through Appium inspector, the markers visible on the map are not shown in the object hierarchy.
What can the Android native mobile application development team do to surface the markers/clusters so that they are visible to Appium?
Alternately, what other options can the automation team explore to develop automated tests? Espresso is not ideal as automation team does not have access to source code for the native mobile application.
Please see Mapbox demo application's -> Annotations -> Draw a marker for an example of a marker that we would like to detect and click on.
Since the Mapbox SDK uses OpenGL rendering, not native components, most test automation frameworks won't be able to recognise UI elements like the markers or clusters you add to the map.
There are some testers using image recognition from the Accelerated-KAZE Features project to find items on screen in order to count and select them. Some example code can be found at https://github.com/bitbar/bitbar-samples/tree/master/image-recognition
Another approach may be to have the mobile app developers include testing hooks that allow your testing code to use the Mapbox API to query rendered features. Mapbox documentation for that is here: https://www.mapbox.com/android-docs/maps/overview/query/#query-rendered-features
I had come across this scenario earlier that an element, even when it's displayed on the screen, was not highlighted when selected from Appium inspector.
Later, when I scanned the complete hierarchy tree clicking on each node was I able to find the element.
I would suggest you to click on every node and check, the marker will be there in the hierarchy tree. It's just that inspector cursor is not able to highlight it.
I am currently working through the Ray Wenderlich book called iOS Apprentice, specifically the tutorial called MyLocations. In this tutorial, the user of the app is able to get the coordinates and address of their current location, categorize the location (i.e. a landmark), add a description, and then pin the location to a map.
I am curious if it is possible to create a back-end, perhaps through Firebase, where the pinned locations are able to be shared with other users of the app. In other words, if I opened the map to see my previously pinned locations, I would also be able to see other users' pinned locations and the description that they added when they categorized the location.
Is this possible? If so, any suggestions would be appreciated.
I'm trying to create a campus navigation app for my college, and in order to do so I need to make a custom map (or use Apple's, but I'd rather make my own), how exactly would I go about it? I had an idea to just use my location and walk around, forcing my phone to draw the map for me (using lines and such) but I wasn't sure how to go about it.
Is there anyway to create a map that updates automatically when new routes are added via anyone's phone? Almost like a collaborative map?
I am trying to implement something like Google's indoor maps feature, locally in my iOS app, using GroundOverlays. I could easily get the overlay part done by overlaying a .png image at some position in the map, using the API. I could also implement a custom floors switcher, just like Google's one, so it changes the floor overlay image. However, I still miss the ability to navigate in the native indoor maps. How can I define custom navigation paths in that region so when user navigates between two points inside it, the calculated path gets generated with respecting them?
In my application i have to display 15 places belong to city, if the user taps on any place i need to display the details of that place in a info window using some text and images.
I already tried and created a marker and info window using google documentation. But to create 15 markers what is the best way, to create the markers one by one 15 times or can we use arrays
THank YOu.
According to Google maps sdk documentation there is no way to add markers in a bulk fashion therefore you must add them one at a time.
See the following: https://developers.google.com/maps/documentation/ios/marker