How to customize user location pin (Xamarin Forms Google Map)How do I efficiently iterate over each entry in a Java Map?How can I initialise a static Map?How do I sort an NSMutableArray with custom objects in it?Prevent users from submitting a form by hitting EnterHow to prevent buttons from submitting formsHow to check if a map contains a key in Go?Resetting saved map pins, iOS SwiftUser Current Location on specific position on MAPLocation of images for Xamarin Forms projectsXamarin GoogleMaps - Acceptable pin/marker colors

Counting occurrence of words in table is slow

Is this one of the engines from the 9/11 aircraft?

Transition from ascending to descending a rope

Calculating the partial sum of a expl3 sequence

How come I was asked by a CBP officer why I was in the US?

What is this particular type of chord progression, common in classical music, called?

Is my Rep in Stack-Exchange Form?

How can Charles Proxy change settings without admin rights after first time?

Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?

Should I include salary information on my CV?

Analog is Obtuse!

First-year PhD giving a talk among well-established researchers in the field

Why does adding parentheses prevent an error?

Are there any vegetarian astronauts?

Declining an offer to present a poster instead of a paper

How to determine what is the correct level of detail when modelling?

Is there any set of 2-6 notes that doesn't have a chord name?

Is there a maximum distance from a planet that a moon can orbit?

Was touching your nose a greeting in second millenium Mesopotamia?

Does the Paladin's Aura of Protection affect only either her or ONE ally in range?

Can a US President have someone sent to prison?

Pull-up sequence accumulator counter

How to positively portray high and mighty characters?

How should I behave to assure my friends that I am not after their money?



How to customize user location pin (Xamarin Forms Google Map)


How do I efficiently iterate over each entry in a Java Map?How can I initialise a static Map?How do I sort an NSMutableArray with custom objects in it?Prevent users from submitting a form by hitting EnterHow to prevent buttons from submitting formsHow to check if a map contains a key in Go?Resetting saved map pins, iOS SwiftUser Current Location on specific position on MAPLocation of images for Xamarin Forms projectsXamarin GoogleMaps - Acceptable pin/marker colors






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















All is in the title, I just want to customise the user location pin with the package Xamarin.Forms.GoogleMaps on IOS.



I've already tried this but it doesn't work at all and the user location pin is always the default.



Map_Pharmacy.Pins.Add(new Pin

Type = PinType.Place,
Label = pharmacy.Name,
Position = pharmacyPosition,
Tag = pharmacy.Id,
Icon = BitmapDescriptorFactory.FromBundle("UserLocation"),
);


Note that I use the Asset Catalog. The same code for other pins works well. Only user location pin seem impossible to customise...










share|improve this question
























  • By default you can't change the default user location pin, but you can do this by custom render class for both iOS and Android or you can use this plugin it support the custom pin github.com/amay077/Xamarin.Forms.GoogleMaps

    – Prasanth
    Mar 25 at 11:44











  • I already use this plugin, the code above used it ...

    – Hapax
    Mar 25 at 13:12

















1















All is in the title, I just want to customise the user location pin with the package Xamarin.Forms.GoogleMaps on IOS.



I've already tried this but it doesn't work at all and the user location pin is always the default.



Map_Pharmacy.Pins.Add(new Pin

Type = PinType.Place,
Label = pharmacy.Name,
Position = pharmacyPosition,
Tag = pharmacy.Id,
Icon = BitmapDescriptorFactory.FromBundle("UserLocation"),
);


Note that I use the Asset Catalog. The same code for other pins works well. Only user location pin seem impossible to customise...










share|improve this question
























  • By default you can't change the default user location pin, but you can do this by custom render class for both iOS and Android or you can use this plugin it support the custom pin github.com/amay077/Xamarin.Forms.GoogleMaps

    – Prasanth
    Mar 25 at 11:44











  • I already use this plugin, the code above used it ...

    – Hapax
    Mar 25 at 13:12













1












1








1








All is in the title, I just want to customise the user location pin with the package Xamarin.Forms.GoogleMaps on IOS.



I've already tried this but it doesn't work at all and the user location pin is always the default.



Map_Pharmacy.Pins.Add(new Pin

Type = PinType.Place,
Label = pharmacy.Name,
Position = pharmacyPosition,
Tag = pharmacy.Id,
Icon = BitmapDescriptorFactory.FromBundle("UserLocation"),
);


Note that I use the Asset Catalog. The same code for other pins works well. Only user location pin seem impossible to customise...










share|improve this question
















All is in the title, I just want to customise the user location pin with the package Xamarin.Forms.GoogleMaps on IOS.



I've already tried this but it doesn't work at all and the user location pin is always the default.



Map_Pharmacy.Pins.Add(new Pin

Type = PinType.Place,
Label = pharmacy.Name,
Position = pharmacyPosition,
Tag = pharmacy.Id,
Icon = BitmapDescriptorFactory.FromBundle("UserLocation"),
);


Note that I use the Asset Catalog. The same code for other pins works well. Only user location pin seem impossible to customise...







ios forms dictionary xamarin pins






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 12:53









Len_X

3173 silver badges21 bronze badges




3173 silver badges21 bronze badges










asked Mar 25 at 11:12









HapaxHapax

61 bronze badge




61 bronze badge












  • By default you can't change the default user location pin, but you can do this by custom render class for both iOS and Android or you can use this plugin it support the custom pin github.com/amay077/Xamarin.Forms.GoogleMaps

    – Prasanth
    Mar 25 at 11:44











  • I already use this plugin, the code above used it ...

    – Hapax
    Mar 25 at 13:12

















  • By default you can't change the default user location pin, but you can do this by custom render class for both iOS and Android or you can use this plugin it support the custom pin github.com/amay077/Xamarin.Forms.GoogleMaps

    – Prasanth
    Mar 25 at 11:44











  • I already use this plugin, the code above used it ...

    – Hapax
    Mar 25 at 13:12
















By default you can't change the default user location pin, but you can do this by custom render class for both iOS and Android or you can use this plugin it support the custom pin github.com/amay077/Xamarin.Forms.GoogleMaps

– Prasanth
Mar 25 at 11:44





By default you can't change the default user location pin, but you can do this by custom render class for both iOS and Android or you can use this plugin it support the custom pin github.com/amay077/Xamarin.Forms.GoogleMaps

– Prasanth
Mar 25 at 11:44













I already use this plugin, the code above used it ...

– Hapax
Mar 25 at 13:12





I already use this plugin, the code above used it ...

– Hapax
Mar 25 at 13:12












0






active

oldest

votes














Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336514%2fhow-to-customize-user-location-pin-xamarin-forms-google-map%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55336514%2fhow-to-customize-user-location-pin-xamarin-forms-google-map%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript