I built a simple program that let's the user type in the latitude and longitude in user fields and then click a button and it puts a marker on that point in the map. I want to be able to use picture files (like png or jpg files) instead of a symbol. When I try to replace the markerSymbol in my code with a PictureMarkerSymbol, it does not work.
Using the below code, you will need to scroll the rendered program in your browser down in order to see the latitude and longitude fields below the map. Simply click either button and it will place the marker on the map.