marker

Mozilla(Firefox) , Marker , Multiple SVGs

我怕爱的太早我们不能终老 提交于 2019-12-02 08:07:34
I've enbedded d3's force directed graph layout into extjs tabs so that each time a new tab gets added a new graph svg gets generated. No Problemo so far. Now I intended to turn the graph into a directed one (by adding a marker and tell the lines to use it) Each generated svg elements is following this pattern: <svg width="100%" height="100%"> <defs><marker id="end-arrow" viewBox="0 -5 10 10" refX="6" markerWidth="3" markerHeight="3" orient="auto"><path d="M0,-5L10,0L0,5" fill="#ccc"></path></marker> </defs> <g transform="translate(4,0) scale(1)"><line class="link" sig="30.84" style="stroke

How to make a Google Map Marker with a photo inside round speech-bubble?

一笑奈何 提交于 2019-12-02 08:04:38
问题 I've searched enough but have not found it yet. How to make a GoogleMaps Marker with a photo Example: I thought I would put 2 markers in the same place one with the image of the marker and another with the photo, but I think it is not the best to do do. Can someone help me? 回答1: This answer is similar to my other answer here, however, this is different due to the round bubble around the image. First, ensure you have the latest version of Picasso: dependencies { compile 'com.squareup.picasso

How to add a static map marker in the HERE maps Android sdk?

会有一股神秘感。 提交于 2019-12-02 03:53:22
I would like to make markers that doesn't move when the map rotates, exactly like the polylines. My goal is to give the marker a single orientation that never changes even when getsures occure. I have tried with every marker type but I can't get the wanted effect. Any kind of help would be appreciated since I am stuck here for really long hours You can draw a simple rectangle with both front and back facing sides textured as follows: // Two triangles FloatBuffer buff = FloatBuffer.allocate(12); buff.put(0- delta); buff.put(0- delta); buff.put(1.f); buff.put(0 + delta); buff.put(0 - delta);

xsl:fo retrieve-marker not valid child

你。 提交于 2019-12-02 00:47:21
I need for my xsl:fo transformation an <fo:retrieve-marker> in an table but I don't know if this is possible because I use FOP Processor for my transformation. If i use the <fo:retrieve-marker> in my table I always get an error message that the tag has to be in an static content. Here is the table with the marker <xsl:call-template name="MMEL-Table-Header"/> <!-- Bottom table Line --> <fo:table-footer> <fo:table-row> <fo:table-cell> <fo:marker marker-class-name="footer-continued"> <fo:inline>(continued)</fo:inline></fo:marker> </fo:table-cell> </fo:table-row> </fo:table-footer> <fo:table-body

Android MapView can't remove marker

戏子无情 提交于 2019-12-01 08:47:53
I'm using locationManager and ItemizedOverlay to draw My Location marker, the problem is when onLocationChanged is triggered I'm getting new marker drawed and not the last one moved to the new location, here is my onLocationChanged code : public void onLocationChanged(Location location) { myOverlay object1 = new myOverlay(getResources().getDrawable(R.drawable.arrow),MyMap); if(location!=null){ MyMap.invalidate(); GeoPoint MyPos = new GeoPoint(microdegrees(location.getLatitude()),microdegrees(location.getLongitude())); MyController.animateTo(MyPos); object1.addPoint(MyPos,"Ma position","Ma

How to animate marker on google maps ?

独自空忆成欢 提交于 2019-12-01 08:06:01
What i'm trying to achieve supposed to be very simple, yet it's not working. I have added a marker on my map, and i'm trying to animate it an heart beat. I have tried the following code, but without no luck, ObjectAnimator pulse = ObjectAnimator.ofPropertyValuesHolder(userLocation, PropertyValuesHolder.ofFloat("scaleX",2f), PropertyValuesHolder.ofFloat("scaleY",2f) ); pulse.setDuration(310); pulse.setRepeatCount(ObjectAnimator.INFINITE); pulse.setRepeatMode(ObjectAnimator.REVERSE); pulse.start(); any suggestion would be grateful, plus using an external library can be an option as well, I have

Android MapView can't remove marker

别来无恙 提交于 2019-12-01 06:23:50
问题 I'm using locationManager and ItemizedOverlay to draw My Location marker, the problem is when onLocationChanged is triggered I'm getting new marker drawed and not the last one moved to the new location, here is my onLocationChanged code : public void onLocationChanged(Location location) { myOverlay object1 = new myOverlay(getResources().getDrawable(R.drawable.arrow),MyMap); if(location!=null){ MyMap.invalidate(); GeoPoint MyPos = new GeoPoint(microdegrees(location.getLatitude()),microdegrees

Google Maps Utility: how to get all markers from ClusterManager<?>?

此生再无相见时 提交于 2019-12-01 04:20:54
Sorry for my English I tried the ClusterManager<?>.getMarkerCollection().getMarkers() method but it returns empty collection. I use in my app Google Maps Utility Library . Every time after a screen rotation I create AsynkTask and in background thread read data from DB and add items to ClusterManager : cursor.moveToFirst(); while (!cursor.isAfterLast()) { SomeData row = readSomeDataRow(cursor); clusterManager.addItem(new ClusterItemImpl(row)); cursor.moveToNext(); } When the AsyncTask finished its work (i.e. in main thread) I tried to get all markers from the ClusterManager : clusterManager

How do I update the locations of multiple markers in google maps

有些话、适合烂在心里 提交于 2019-12-01 02:38:05
I am using google maps api to place markers on a map. The gps coordinates of the markers are stored in a mySQL database. I have been able to create the markers however the locations will constantly changing so I was wondering how I would go about updating the markers' locations so that the markers will move across the map. Here is my code so far: <!DOCTYPE html> <html> <head><title>Map</title> <style type="text/css"> html { height: 100% } body { height: 100%; margin: 0px; padding: 0px } #map_canvas { height: 100% } </style> <script type="text/javascript" src="http://maps.google.com/maps/api/js

Google Maps Utility: how to get all markers from ClusterManager<?>?

心不动则不痛 提交于 2019-12-01 01:40:17
问题 Sorry for my English I tried the ClusterManager<?>.getMarkerCollection().getMarkers() method but it returns empty collection. I use in my app Google Maps Utility Library . Every time after a screen rotation I create AsynkTask and in background thread read data from DB and add items to ClusterManager : cursor.moveToFirst(); while (!cursor.isAfterLast()) { SomeData row = readSomeDataRow(cursor); clusterManager.addItem(new ClusterItemImpl(row)); cursor.moveToNext(); } When the AsyncTask finished